Skip to content

Commit

Permalink
revert trying to make doc comment compile
Browse files Browse the repository at this point in the history
  • Loading branch information
liamaharon committed Feb 26, 2024
1 parent 683ba87 commit 06ff03b
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions substrate/frame/support/procedural/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(_);
///
/// ```ignore
/// #[pallet::storage]
/// #[pallet::disable_try_decode_storage]
/// pub(super) type Events<T: Config> = StorageValue<_, Vec<Box<EventRecord<T::RuntimeEvent, T::Hash>>>, ValueQuery>;
/// }
/// ```
///
/// NOTE: As with all `pallet::*` attributes, this one _must_ be written as
Expand Down

0 comments on commit 06ff03b

Please sign in to comment.