clippy: fix pedantic warnings and run clippy::pedantic lints on the codebase.

Turn on pedantic lints in dogfood and base tests.

needless_bool: fix clippy::items-after-statements
redundant_pattern_matching: fix clippy::similar-names
mods.rs: fix clippy::explicit-iter-loop
returns.rs: allow clippy::cast-possible-wrap

Fixes #3172
This commit is contained in:
Matthias Krüger
2018-11-02 12:12:14 +01:00
parent 7c86a9c05c
commit df7cff31dc
7 changed files with 18 additions and 16 deletions

View File

@@ -8,7 +8,6 @@
// except according to those terms.
#![allow(clippy::default_hash_types)]
use itertools::Itertools;