It's Clippy time (#3806)

Fix some Clippy issues
This commit is contained in:
Caio
2019-10-19 08:01:51 -03:00
committed by Bastian Köcher
parent 470b62366f
commit f5162edc83
13 changed files with 18 additions and 31 deletions
@@ -91,7 +91,7 @@ impl BabePreDigest {
}
/// The prefix used by BABE for its VRF keys.
pub const BABE_VRF_PREFIX: &'static [u8] = b"substrate-babe-vrf";
pub const BABE_VRF_PREFIX: &[u8] = b"substrate-babe-vrf";
/// A raw version of `BabePreDigest`, usable on `no_std`.
#[derive(Copy, Clone, Encode, Decode)]