We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40cb24f commit ad002eaCopy full SHA for ad002ea
clippy_lints/src/methods/unnecessary_filter_map.rs
@@ -79,7 +79,7 @@ pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'tcx>, a
79
},
80
expr.span,
81
format!("this `.{name}` can be written more simply"),
82
- format!("try instead"),
+ "try instead",
83
sugg.to_string(),
84
Applicability::MaybeIncorrect,
85
);
0 commit comments