Skip to content

Commit a22915b

Browse files
committed
Remove unneeded allow's
1 parent a752d31 commit a22915b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

clippy_dev/src/ra_setup.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![allow(clippy::filter_map)]
2-
31
use std::fs;
42
use std::fs::File;
53
use std::io::prelude::*;

clippy_lints/src/loops.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,6 @@ fn get_assignments<'a: 'c, 'tcx: 'c, 'c>(
10691069
) -> impl Iterator<Item = Option<(&'tcx Expr<'tcx>, &'tcx Expr<'tcx>)>> + 'c {
10701070
// As the `filter` and `map` below do different things, I think putting together
10711071
// just increases complexity. (cc #3188 and #4193)
1072-
#[allow(clippy::filter_map)]
10731072
stmts
10741073
.iter()
10751074
.filter_map(move |stmt| match stmt.kind {

0 commit comments

Comments
 (0)