Skip to content

Commit 783992e

Browse files
committed
Fix dogfood issue for or_fun_call
1 parent 97cd46f commit 783992e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/or_fun_call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub(super) fn check<'tcx>(
5959
span_replace_word,
6060
&format!("use of `{}` followed by a call to `{}`", name, path),
6161
"try this",
62-
format!("unwrap_or_default()"),
62+
"unwrap_or_default()".to_string(),
6363
Applicability::MachineApplicable,
6464
);
6565

0 commit comments

Comments
 (0)