9951 clippy errors in the test suite (#10030)

automerge
This commit is contained in:
Kristofer Peterson
2020-05-15 17:35:43 +01:00
committed by GitHub
parent 1da1667920
commit 58ef02f02b
106 changed files with 713 additions and 827 deletions

View File

@ -183,13 +183,12 @@ impl MerkleTree {
#[cfg(test)]
mod tests {
use super::*;
use hex;
const TEST: &'static [&'static [u8]] = &[
const TEST: &[&[u8]] = &[
b"my", b"very", b"eager", b"mother", b"just", b"served", b"us", b"nine", b"pizzas",
b"make", b"prime",
];
const BAD: &'static [&'static [u8]] = &[b"bad", b"missing", b"false"];
const BAD: &[&[u8]] = &[b"bad", b"missing", b"false"];
#[test]
fn test_tree_from_empty() {