Skip to content

Commit 63a57ee

Browse files
committed
retain applicability
1 parent 46edafe commit 63a57ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/suspicious_to_owned.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &hir::Expr<'_>) -
3333
expr.span,
3434
"depending on intent, either make the Cow an Owned variant or clone the Cow itself",
3535
[format!("{recv_snip}.into_owned()"), format!("{recv_snip}.clone()")],
36-
Applicability::Unspecified
36+
app
3737
);
3838
}
3939
);

0 commit comments

Comments
 (0)