From 06ff03bae74ceebc1189c086ceb14761d0acbf2f Mon Sep 17 00:00:00 2001 From: Liam Aharon Date: Mon, 26 Feb 2024 15:31:42 +1100 Subject: [PATCH] revert trying to make doc comment compile --- substrate/frame/support/procedural/src/lib.rs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/substrate/frame/support/procedural/src/lib.rs b/substrate/frame/support/procedural/src/lib.rs index 42b07442aaf5..7175635addf0 100644 --- a/substrate/frame/support/procedural/src/lib.rs +++ b/substrate/frame/support/procedural/src/lib.rs @@ -1376,23 +1376,10 @@ pub fn whitelist_storage(_: TokenStream, _: TokenStream) -> TokenStream { /// attached to transient storage which cannot be migrated during runtime upgrades. /// /// ### Example -/// ``` -/// use frame::prelude::*; -/// -/// #[frame::pallet(dev_mode)] -/// pub mod pallet { -/// use super::*; -/// -/// #[pallet::config] -/// pub trait Config: frame_system::Config {} -/// -/// #[pallet::pallet] -/// pub struct Pallet(_); -/// +/// ```ignore /// #[pallet::storage] /// #[pallet::disable_try_decode_storage] /// pub(super) type Events = StorageValue<_, Vec>>, ValueQuery>; -/// } /// ``` /// /// NOTE: As with all `pallet::*` attributes, this one _must_ be written as