decl_storage doc (#2341)

* doc

* other doc cleanup and fixing links

* one more typo
This commit is contained in:
thiolliere
2019-04-23 19:50:22 +02:00
committed by Gavin Wood
parent c6d15e2cea
commit 116e99b6f3
2 changed files with 39 additions and 26 deletions
+1
View File
@@ -19,6 +19,7 @@
use crate::codec::Codec;
use runtime_io::{blake2_256, twox_128, twox_256};
/// Trait for available hash functions.
pub trait Hashable: Sized {
fn blake2_256(&self) -> [u8; 32];
fn twox_128(&self) -> [u8; 16];