docs: Added more correct documentation for using genesis config (#3445)

This commit is contained in:
Bryant Eisenbach authored and Gavin Wood committed 2019-08-20 20:34:18 +02:00
1 parent 6876c50af8
commit f3649e3856
1 file changed
+11 -1
+11 -1
View File
@@ -133,7 +133,17 @@ use proc_macro::TokenStream;
/// }
/// ```
///
/// This struct can be exposed as `Config` by the `decl_runtime!` macro.
/// This struct can be exposed as `ExampleConfig` by the `construct_runtime!` macro like follows:
///
/// ```nocompile
/// construct_runtime!(
/// pub enum Runtume with ... {
/// ...,
/// Example: example::{Module, Storage, ..., Config<T>},
/// ...,
/// }
/// );
/// ```
///
/// ### Module with Instances
///