Skip to content

Commit e6b4646

Browse files
committed
Undo changes
1 parent af4914b commit e6b4646

File tree

1 file changed

+0
-4
lines changed
  • clippy_lints/src/methods

1 file changed

+0
-4
lines changed

clippy_lints/src/methods/mod.rs

-4
Original file line numberDiff line numberDiff line change
@@ -2302,10 +2302,6 @@ fn check_methods<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, msrv: Optio
23022302
string_extend_chars::check(cx, expr, recv, arg);
23032303
extend_with_drain::check(cx, expr, recv, arg);
23042304
},
2305-
(name @ "filter", args @ []) => match method_call!(recv) {
2306-
Some(("cloned", [recv2], _)) => iter_overeager_cloned::check(cx, expr, recv2, name, args),
2307-
_ => {},
2308-
},
23092305
("filter_map", [arg]) => {
23102306
unnecessary_filter_map::check(cx, expr, arg);
23112307
filter_map_identity::check(cx, expr, arg, span);

0 commit comments

Comments
 (0)