mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 02:21:14 +00:00
docs: Added more correct documentation for using genesis config (#3445)
This commit is contained in:
committed by
Gavin Wood
parent
6876c50af8
commit
f3649e3856
@@ -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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user