Skip to content
Snippets Groups Projects
Commit 36d71cb8 authored by Sergey Pepyakin's avatar Sergey Pepyakin Committed by Gav Wood
Browse files

Add missing `As` imports. (#877)

parent 68b4be14
No related merge requests found
......@@ -42,7 +42,7 @@ extern crate srml_system as system;
extern crate srml_timestamp as timestamp;
use rstd::prelude::*;
use primitives::traits::{Zero, One, OnFinalise, Convert};
use primitives::traits::{As, Zero, One, OnFinalise, Convert};
use runtime_support::{StorageValue, StorageMap};
use runtime_support::dispatch::Result;
use system::ensure_signed;
......
......@@ -53,12 +53,10 @@ extern crate parity_codec as codec;
use runtime_support::{StorageValue, Parameter};
use runtime_support::dispatch::Result;
use runtime_primitives::traits::{OnFinalise, SimpleArithmetic, Zero};
use runtime_primitives::traits::{As, OnFinalise, SimpleArithmetic, Zero};
use system::ensure_inherent;
use rstd::ops::{Mul, Div};
#[cfg(any(feature = "std", test))]
use runtime_primitives::traits::As;
pub trait Trait: consensus::Trait + system::Trait {
/// The position of the required timestamp-set extrinsic.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment