Skip to content

Commit c558bf5

Browse files
author
Jacherr
committed
fix dogfood
1 parent d305884 commit c558bf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/unnecessary_map_or.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub(super) fn check<'a>(
124124
cx,
125125
UNNECESSARY_MAP_OR,
126126
expr.span,
127-
format!("this `map_or` is redundant"),
127+
"this `map_or` is redundant",
128128
format!("use {method} instead"),
129129
sugg,
130130
Applicability::MachineApplicable,

0 commit comments

Comments
 (0)