We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
filter_map_identity
1 parent 9655231 commit 60937bfCopy full SHA for 60937bf
clippy_lints/src/methods/filter_map_identity.rs
@@ -12,7 +12,7 @@ fn is_identity(cx: &LateContext<'_>, expr: &hir::Expr<'_>) -> Option<Applicabili
12
return Some(Applicability::MachineApplicable);
13
}
14
if is_expr_identity_function(cx, expr) {
15
- return Some(Applicability::MaybeIncorrect);
+ return Some(Applicability::Unspecified);
16
17
None
18
0 commit comments