Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
wowinter13 committed Oct 15, 2024
1 parent 40cb24f commit ad002ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/unnecessary_filter_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'tcx>, a
},
expr.span,
format!("this `.{name}` can be written more simply"),
format!("try instead"),
"try instead",
sugg.to_string(),
Applicability::MaybeIncorrect,
);
Expand Down

0 comments on commit ad002ea

Please sign in to comment.