Migrate everything to the 2018 edition (#1758)

This commit is contained in:
Stanislav Tkach authored and Gav Wood committed 2019-02-13 11:45:59 +01:00
1 parent a61c218cc3
commit ff5e4ca87e
38 files changed
+75 -116

No files matched your search

-3
View File
@@ -18,9 +18,6 @@
#![cfg_attr(not(feature = "std"), no_std)]
#[macro_use]
extern crate srml_support as runtime_support;
#[cfg(feature = "std")] pub mod genesismap;
pub mod system;
@@ -20,6 +20,7 @@
use rstd::prelude::*;
use runtime_io::{storage_root, enumerated_trie_root, storage_changes_root, twox_128};
use runtime_support::storage::{self, StorageValue, StorageMap};
use runtime_support::storage_items;
use runtime_primitives::traits::{Hash as HashT, BlakeTwo256, Digest as DigestT};
use runtime_primitives::generic;
use runtime_primitives::{ApplyError, ApplyOutcome, ApplyResult, transaction_validity::TransactionValidity};