Remove unused imports/ doc comments. (#2276)

* Remove unused imports/ doc comments

* Better doc for node template.
This commit is contained in:
Kian Peymani
2019-04-14 12:42:45 +02:00
committed by Bastian Köcher
parent 29e9273579
commit dcb1cafe2a
7 changed files with 5 additions and 13 deletions
@@ -19,16 +19,17 @@ pub trait Trait: system::Trait {
type Event: From<Event<Self>> + Into<<Self as system::Trait>::Event>;
}
/// This module's storage items.
// This module's storage items.
decl_storage! {
trait Store for Module<T: Trait> as TemplateModule {
// Just a dummy storage item.
// Just a dummy storage item.
// Here we are declaring a StorageValue, `Something` as a Option<u32>
// `get(something)` is the default getter which returns either the stored `u32` or `None` if nothing stored
Something get(something): Option<u32>;
}
}
// The module's dispatchable functions.
decl_module! {
/// The module declaration.
pub struct Module<T: Trait> for enum Call where origin: T::Origin {