Some updates

This commit is contained in:
Bastian Köcher
2019-09-26 09:44:21 +02:00
parent 9bef7a9dc0
commit ce064775fc
8 changed files with 775 additions and 717 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ use rstd::{slice, ptr, cmp, vec::Vec, boxed::Box, mem};
use hash_db::HashDB;
static mut STORAGE: Option<Box<Storage>> = None;
static mut STORAGE: Option<Box<dyn Storage>> = None;
/// The message to use as expect message while accessing the `STORAGE`.
const STORAGE_SET_EXPECT: &str =
"`STORAGE` needs to be set before calling this function.";