Small update to documentation of construct_runtime! (#1353)

Documentation says the `default` macro expands to `Module, Call, Storage, Event<T>, Config`, but it actually uses the generic config: `Module, Call, Storage, Event<T>, Config<T>`
This commit is contained in:
Shawn Tabrizi
2019-01-06 17:44:52 +01:00
committed by Gav Wood
parent 468fd19f6b
commit 5db38433c2
+2 -2
View File
@@ -31,11 +31,11 @@
/// )
/// ```
///
/// The module `System: system` will expand to `System: system::{Module, Call, Storage, Event<T>, Config}`.
/// The module `System: system` will expand to `System: system::{Module, Call, Storage, Event<T>, Config<T>}`.
/// 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<T>, Config, Log(Test)}`.
/// `Test: test::{Module, Call, Storage, Event<T>, Config<T>, Log(Test)}`.
/// The module `Test2: test_with_long_module::{Module}` will expand to
/// `Test2: test_with_long_module::{Module}`.
///