Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathy-bajo committed Jan 30, 2025
1 parent 1108112 commit 65751e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions substrate/frame/support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1112,8 +1112,8 @@ pub mod pallet_macros {
/// #[pallet::pallet]
/// pub struct Pallet<T>(_);
///
/// # #[pallet::config]
/// # pub trait Config: frame_system::Config {
/// #[pallet::config]
/// pub trait Config: frame_system::Config {
/// /// Type for specifying dispatchable weights.
/// type WeightInfo: WeightInfo;
/// }
Expand Down Expand Up @@ -2160,8 +2160,8 @@ pub mod pallet_macros {
///
/// #[pallet::call]
/// impl<T: Config> Pallet<T> {
/// #[pallet::weight(<T as Config>::WeightInfo::do_something())]
/// #[pallet::call_index(1)]
/// #[pallet::call(weight = <T as Config>::WeightInfo::do_something())]
/// pub fn do_something(
/// origin: OriginFor<T>,
/// foo: u32,
Expand Down

0 comments on commit 65751e8

Please sign in to comment.