retain applicability
This commit is contained in:
parent
46edafe8c1
commit
63a57ee1c3
@ -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…
Reference in New Issue
Block a user