We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46edafe commit 63a57eeCopy full SHA for 63a57ee
clippy_lints/src/methods/suspicious_to_owned.rs
@@ -33,7 +33,7 @@ pub fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &hir::Expr<'_>) -
33
expr.span,
34
"depending on intent, either make the Cow an Owned variant or clone the Cow itself",
35
[format!("{recv_snip}.into_owned()"), format!("{recv_snip}.clone()")],
36
- Applicability::Unspecified
+ app
37
);
38
}
39
0 commit comments