Remove "simple declaration of the Module type" comments (#5944)

* Remove "simple declaration of the `Module` type" comments

* Bump runtime impl version

* Update bin/node/runtime/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Wei Tang
2020-05-07 22:10:57 +02:00
committed by GitHub
parent 6a6f2554b4
commit 9ecc1180fc
5 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -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;
@@ -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;