It's Clippy time (#3806)

Fix some Clippy issues
This commit is contained in:
Caio authored and Bastian Köcher committed 2019-10-19 13:01:51 +02:00
1 parent 470b62366f
commit f5162edc83
13 files changed
+18 -31

No files matched your search

@@ -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)]