Migrate node (cli, executor, primitives and runtime) to the 2018 edition (#1589)

This commit is contained in:
Stanislav Tkach authored and Gav Wood committed 2019-01-29 17:57:56 +01:00
1 parent d796e09f02
commit 473721f959
14 files changed
+94 -170

No files matched your search

-9
View File
@@ -21,15 +21,6 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(not(feature = "std"), feature(alloc))]
#[cfg(feature = "std")]
extern crate serde;
extern crate parity_codec as codec;
extern crate sr_std as rstd;
extern crate sr_primitives as runtime_primitives;
extern crate substrate_primitives as primitives;
use runtime_primitives::generic;
use runtime_primitives::{OpaqueExtrinsic, traits::BlakeTwo256};