@@ -1307,7 +1307,7 @@ pub mod pallet_prelude {
13071307/// ```ignore
13081308/// #[pallet::event]
13091309/// #[pallet::metadata($SomeType = "$Metadata", $SomeOtherType = "$Metadata", ..)] // Optional
1310- /// #[pallet::generate_deposit($visbility fn deposit_event)] // Optional
1310+ /// #[pallet::generate_deposit($visibility fn deposit_event)] // Optional
13111311/// pub enum Event<$some_generic> $optional_where_clause {
13121312/// /// Some doc
13131313/// $SomeName($SomeType, $YetanotherType, ...),
@@ -1338,7 +1338,7 @@ pub mod pallet_prelude {
13381338/// ```
13391339/// will write in event variant metadata `"SpecialU32"` and `"T::AccountId"`.
13401340///
1341- /// The attribute `#[pallet::generate_deposit($visbility fn deposit_event)]` generate a helper
1341+ /// The attribute `#[pallet::generate_deposit($visibility fn deposit_event)]` generate a helper
13421342/// function on `Pallet` to deposit event.
13431343///
13441344/// NOTE: For instantiable pallet, event must be generic over T and I.
@@ -2006,10 +2006,10 @@ pub mod pallet_prelude {
20062006/// implementation.
20072007///
20082008/// 10. **migrate origin**: move the origin to the pallet module under `#[pallet::origin]`
2009- /// 11. **migrate validate_unsigned**: move the ValidateUnsigned implementation to the pallet
2009+ /// 11. **migrate validate_unsigned**: move the ` ValidateUnsigned` implementation to the pallet
20102010/// module under `#[pallet::validate_unsigned]`
2011- /// 12. **migrate provide_inherent**: move the ValidateUnsigned implementation to the pallet
2012- /// module under `#[pallet::provide_inherent ]`
2011+ /// 12. **migrate provide_inherent**: move the `ProvideInherent` implementation to the pallet
2012+ /// module under `#[pallet::inherent ]`
20132013/// 13. rename the usage of `Module` to `Pallet` inside the crate.
20142014/// 14. migration is done, now double check migration with the checking migration guidelines.
20152015///
0 commit comments