mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
decl_module doc (#3451)
This commit is contained in:
@@ -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