Migrate sr-primitives, sr-sandbox, sr-std and sr-version to the 2018 edition (#1694)

This commit is contained in:
Stanislav Tkach
2019-02-06 20:04:14 +02:00
committed by Gav Wood
parent 4e3eace15f
commit 3a4dda7beb
24 changed files with 113 additions and 122 deletions
@@ -16,7 +16,10 @@
//! Generic implementation of an unchecked (pre-verification) extrinsic.
use codec::{Decode, Encode, Input, Output};
#[cfg(feature = "std")]
use serde_derive::{Serialize, Deserialize};
use crate::codec::{Decode, Encode, Input, Output};
pub type Period = u64;
pub type Phase = u64;