diff options
author | Alan Du <[email protected]> | 2019-06-04 23:05:38 +0100 |
---|---|---|
committer | Alan Du <[email protected]> | 2019-06-04 23:05:38 +0100 |
commit | aa30c4909ebb1e85f1591f465c9e2875aa4d394e (patch) | |
tree | b15644faded6b41393c14903084339927c84e713 | |
parent | 02b6f871f174f510cd258c5064dcbe08cadd11d3 (diff) |
Allow clippy::redundant_pattern_matching
-rw-r--r-- | crates/tools/src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs index b424eb701..2446fdf28 100644 --- a/crates/tools/src/lib.rs +++ b/crates/tools/src/lib.rs | |||
@@ -146,9 +146,10 @@ pub fn run_clippy() -> Result<()> { | |||
146 | 146 | ||
147 | let allowed_lints = [ | 147 | let allowed_lints = [ |
148 | "clippy::collapsible_if", | 148 | "clippy::collapsible_if", |
149 | "clippy::nonminimal_bool", | ||
150 | "clippy::needless_pass_by_value", | ||
151 | "clippy::map_clone", // FIXME: remove when Iterator::copied stabilizes (1.36.0) | 149 | "clippy::map_clone", // FIXME: remove when Iterator::copied stabilizes (1.36.0) |
150 | "clippy::needless_pass_by_value", | ||
151 | "clippy::nonminimal_bool", | ||
152 | "clippy::redundant_pattern_matching", | ||
152 | ]; | 153 | ]; |
153 | run( | 154 | run( |
154 | &format!( | 155 | &format!( |