From 60937bf2dbf68e36c078087b3a0dc01d6857465a Mon Sep 17 00:00:00 2001 From: Quinn Sinclair Date: Tue, 26 Mar 2024 18:59:09 +0100 Subject: [PATCH] :adjust applicability for typed identity closures in `filter_map_identity` --- clippy_lints/src/methods/filter_map_identity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/methods/filter_map_identity.rs b/clippy_lints/src/methods/filter_map_identity.rs index 15b11a731c9..999df875c75 100644 --- a/clippy_lints/src/methods/filter_map_identity.rs +++ b/clippy_lints/src/methods/filter_map_identity.rs @@ -12,7 +12,7 @@ fn is_identity(cx: &LateContext<'_>, expr: &hir::Expr<'_>) -> Option