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

This commit is contained in:
Bryant Eisenbach
2019-08-20 14:34:18 -04:00
committed by Gavin Wood
parent 6876c50af8
commit f3649e3856
+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
///