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