mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
Fix dogfood issue for or_fun_call
This commit is contained in:
parent
97cd46fa33
commit
783992e693
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue