Migrate network, primitives and rpc to the 2018 edition (#1710)

This commit is contained in:
Stanislav Tkach
2019-02-06 20:07:48 +02:00
committed by Gav Wood
parent 3a4dda7beb
commit e60be1ad12
43 changed files with 203 additions and 278 deletions
+2 -2
View File
@@ -18,12 +18,12 @@
use hash_db::Hasher;
use hash256_std_hasher::Hash256StdHasher;
use hash::H256;
use crate::hash::H256;
pub mod blake2 {
use super::{Hasher, Hash256StdHasher, H256};
#[cfg(feature = "std")]
use hashing::blake2_256;
use crate::hashing::blake2_256;
#[cfg(not(feature = "std"))]
extern "C" {