mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-25 21:25:03 +00:00
decl_module doc (#3451)
This commit is contained in:
1 parent
591e27e4ab
commit
2f3e7cbe80
1 file changed
+3
@@ -171,6 +171,9 @@ impl<T> Parameter for T where T: Codec + Clone + Eq {}
|
||||
/// # fn main() {}
|
||||
/// ```
|
||||
///
|
||||
/// Note: `decl_storage` must be called to generate `Instance` trait and optionally
|
||||
/// `DefaultInstance` type.
|
||||
///
|
||||
/// ## Where clause
|
||||
///
|
||||
/// Besides the default `origin: T::Origin`, you can also pass other bounds to the module declaration.
|
||||
|
||||
Reference in new issue
Block a user