Skip to content

Commit 3b45a28

Browse files
committed
Remove unneeded allows
1 parent 15ffda0 commit 3b45a28

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

clippy_lints/src/types/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,6 @@ impl Types {
490490
}
491491
}
492492
}
493-
#[allow(clippy::iter_empty)]
494493
match *qpath {
495494
QPath::Resolved(Some(ty), p) => {
496495
context.is_nested_call = true;

clippy_utils/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,6 @@ pub fn def_path_res(cx: &LateContext<'_>, path: &[&str]) -> Res {
482482
}
483483
fn find_primitive<'tcx>(tcx: TyCtxt<'tcx>, name: &str) -> impl Iterator<Item = DefId> + 'tcx {
484484
let single = |ty| tcx.incoherent_impls(ty).iter().copied();
485-
#[allow(clippy::iter_empty)]
486485
let empty = || [].iter().copied();
487486
match name {
488487
"bool" => single(BoolSimplifiedType),

0 commit comments

Comments
 (0)