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 @@ pub(super) fn check<'tcx>(
span_replace_word, span_replace_word,
&format!("use of `{}` followed by a call to `{}`", name, path), &format!("use of `{}` followed by a call to `{}`", name, path),
"try this", "try this",
format!("unwrap_or_default()"), "unwrap_or_default()".to_string(),
Applicability::MachineApplicable, Applicability::MachineApplicable,
); );