more idiomatic std features

This commit is contained in:
Robert Habermeier
2018-01-30 19:28:57 +01:00
parent a68b187f4d
commit 8e6cb1b6e2
18 changed files with 30 additions and 30 deletions
@@ -21,7 +21,7 @@ use codec::{StreamReader, Joiner, Slicable, NonTrivialSlicable};
use primitives::{Header, UncheckedTransaction};
/// A Polkadot relay chain block.
#[cfg_attr(feature = "with-std", derive(PartialEq, Debug))]
#[cfg_attr(feature = "std", derive(PartialEq, Debug))]
pub struct Block {
/// The header of the block.
pub header: Header,