decl_module doc (#3451)

This commit is contained in:
thiolliere
2019-08-21 17:38:41 +02:00
committed by GitHub
parent 591e27e4ab
commit 2f3e7cbe80
+3
View File
@@ -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.