Remove compilation warnings. (#2835)

* Remove compilation warnings.

* Allow unused only not in tests.

* Remove unnecessary mut.

* Make CI happy.

* Revert "Make CI happy."

This reverts commit abb865fe4b9fe9af1ae3ec801da9d4305ea35765.
This commit is contained in:
Tomasz Drwięga
2019-06-11 22:42:28 +02:00
committed by Bastian Köcher
parent ad2d958248
commit 6feab51069
5 changed files with 145 additions and 139 deletions
-1
View File
@@ -46,7 +46,6 @@ use sr_api_macros::decl_runtime_apis;
use primitives::OpaqueMetadata;
#[cfg(feature = "std")]
use std::{panic::UnwindSafe, cell::RefCell, rc::Rc};
use rstd::vec::Vec;
#[cfg(feature = "std")]
use primitives::Hasher as HasherT;