Skip to content

Commit

Permalink
Change applicability of assigning_clones to Unspecified
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Mar 25, 2024
1 parent a16a9ed commit dafb7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/assigning_clones.rs
Expand Up @@ -212,7 +212,7 @@ fn suggest<'tcx>(
call: &CallCandidate<'tcx>,
) {
span_lint_and_then(cx, ASSIGNING_CLONES, assign_expr.span, call.message(), |diag| {
let mut applicability = Applicability::MachineApplicable;
let mut applicability = Applicability::Unspecified;

diag.span_suggestion(
assign_expr.span,
Expand Down

0 comments on commit dafb7f6

Please sign in to comment.