Fix dogfood issue for or_fun_call
This commit is contained in:
parent
97cd46fa33
commit
783992e693
@ -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,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user