From 5db38433c273c8b909d95c9dbb1455194ce2c67a Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Sun, 6 Jan 2019 17:44:52 +0100 Subject: [PATCH] Small update to documentation of `construct_runtime!` (#1353) Documentation says the `default` macro expands to `Module, Call, Storage, Event, Config`, but it actually uses the generic config: `Module, Call, Storage, Event, Config` --- substrate/srml/support/src/runtime.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/srml/support/src/runtime.rs b/substrate/srml/support/src/runtime.rs index 5fcd8c565b..11e2f667a7 100644 --- a/substrate/srml/support/src/runtime.rs +++ b/substrate/srml/support/src/runtime.rs @@ -31,11 +31,11 @@ /// ) /// ``` /// -/// The module `System: system` will expand to `System: system::{Module, Call, Storage, Event, Config}`. +/// The module `System: system` will expand to `System: system::{Module, Call, Storage, Event, Config}`. /// The identifier `System` is the name of the module and the lower case identifier `system` is the /// name of the rust module for this module. /// The module `Test: test::{default, Log(Test)}` will expand to -/// `Test: test::{Module, Call, Storage, Event, Config, Log(Test)}`. +/// `Test: test::{Module, Call, Storage, Event, Config, Log(Test)}`. /// The module `Test2: test_with_long_module::{Module}` will expand to /// `Test2: test_with_long_module::{Module}`. ///