mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 08:07:58 +00:00
Remove unused imports/ doc comments. (#2276)
* Remove unused imports/ doc comments * Better doc for node template.
This commit is contained in:
committed by
Bastian Köcher
parent
29e9273579
commit
dcb1cafe2a
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user