retain applicability

This commit is contained in:
Kartavya Vashishtha 2023-02-05 01:50:44 +05:30
parent 46edafe8c1
commit 63a57ee1c3
No known key found for this signature in database
GPG Key ID: A50012C2324E5DF0

View File

@ -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
);
}
);