Documentation for the macros that define a Runtime and associated types. (#1516)

This commit is contained in:
kyegupov
2019-01-22 10:09:25 +00:00
committed by Gav Wood
parent bcfb75b78e
commit 22b65c9cb0
4 changed files with 71 additions and 4 deletions
+6 -1
View File
@@ -334,8 +334,13 @@ macro_rules! __impl_outer_config_types {
($concrete:ident) => ()
}
/// Implement the output "meta" module configuration struct,
/// which is basically:
/// pub struct GenesisConfig {
/// rust_module_one: Option<ModuleOneConfig>,
/// ...
/// }
#[macro_export]
/// Implement the output "meta" module configuration struct.
macro_rules! impl_outer_config {
(
pub struct $main:ident for $concrete:ident {