mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
retain applicability
This commit is contained in:
parent
46edafe8c1
commit
63a57ee1c3
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ pub fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &hir::Expr<'_>) -
|
|||
expr.span,
|
||||
"depending on intent, either make the Cow an Owned variant or clone the Cow itself",
|
||||
[format!("{recv_snip}.into_owned()"), format!("{recv_snip}.clone()")],
|
||||
Applicability::Unspecified
|
||||
app
|
||||
);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue