From 2f3e7cbe809a59a0e4e954a6f739c5a395162a5f Mon Sep 17 00:00:00 2001 From: thiolliere <gui.thiolliere@gmail.com> Date: Wed, 21 Aug 2019 17:38:41 +0200 Subject: [PATCH] decl_module doc (#3451) --- substrate/srml/support/src/dispatch.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/substrate/srml/support/src/dispatch.rs b/substrate/srml/support/src/dispatch.rs index d987e5431bb..d77da619a9c 100644 --- a/substrate/srml/support/src/dispatch.rs +++ b/substrate/srml/support/src/dispatch.rs @@ -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. -- GitLab