Skip to content

Commit

Permalink
fix dogfood
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacherr authored and Jacherr committed Oct 6, 2024
1 parent 7edc1f0 commit c3f24f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/unnecessary_map_or.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pub(super) fn check<'a>(
cx,
UNNECESSARY_MAP_OR,
expr.span,
format!("this `map_or` is redundant"),
"this `map_or` is redundant",
format!("use {method} instead"),
sugg,
Applicability::MachineApplicable,
Expand Down

0 comments on commit c3f24f0

Please sign in to comment.