Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frame/identity/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ mod weight_for {
}

decl_module! {
// Simple declaration of the `Module` type. Lets the macro know what it's working on.
/// Identity module declaration.
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
/// The amount held on deposit for a registered identity.
const BasicDeposit: BalanceOf<T> = T::BasicDeposit::get();
Expand Down
2 changes: 1 addition & 1 deletion frame/nicks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ decl_error! {
}

decl_module! {
// Simple declaration of the `Module` type. Lets the macro know what it's working on.
/// Nicks module declaration.
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
type Error = Error<T>;

Expand Down
3 changes: 1 addition & 2 deletions frame/scheduler/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ decl_error! {
}

decl_module! {
// Simple declaration of the `Module` type. Lets the macro know what its working on.
/// Scheduler module declaration.
pub struct Module<T: Trait> for enum Call where origin: <T as system::Trait>::Origin {
fn deposit_event() = default;

Expand Down Expand Up @@ -437,7 +437,6 @@ mod tests {
}
}
decl_module! {
// Simple declaration of the `Module` type. Lets the macro know what its working on.
pub struct Module<T: Trait> for enum Call where origin: <T as system::Trait>::Origin {
fn deposit_event() = default;

Expand Down
2 changes: 1 addition & 1 deletion frame/sudo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub trait Trait: frame_system::Trait {
}

decl_module! {
// Simple declaration of the `Module` type. Lets the macro know what it's working on.
/// Sudo module declaration.
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
type Error = Error<T>;

Expand Down
2 changes: 1 addition & 1 deletion frame/vesting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ decl_error! {
}

decl_module! {
// Simple declaration of the `Module` type. Lets the macro know what it's working on.
/// Vesting module declaration.
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
type Error = Error<T>;

Expand Down