Fix dogfood issue for or_fun_call

This commit is contained in:
alex-semenyuk 2022-07-10 13:34:58 +03:00
parent 97cd46fa33
commit 783992e693

View File

@ -59,7 +59,7 @@ fn check_unwrap_or_default(
span_replace_word,
&format!("use of `{}` followed by a call to `{}`", name, path),
"try this",
format!("unwrap_or_default()"),
"unwrap_or_default()".to_string(),
Applicability::MachineApplicable,
);