Skip to content

chore: Enable assigning_clones clippy lint#20670

Open
neilconway wants to merge 1 commit intoapache:mainfrom
neilconway:neilc/clippy-assign-clone
Open

chore: Enable assigning_clones clippy lint#20670
neilconway wants to merge 1 commit intoapache:mainfrom
neilconway:neilc/clippy-assign-clone

Conversation

@neilconway
Copy link
Contributor

Which issue does this PR close?

N/A

Rationale for this change

The assigning_clones clippy lint seems marginally useful. Enabling it for the whole workspace only catches a few places, but they are all coding patterns that could be improved.

What changes are included in this PR?

  • Enable assigning_clones clippy lint as a workspace-level warning
  • Fix existing lint violations (no false positives)

Are these changes tested?

Yes, covered by existing tests. This is a mechanical refactor that does not change behavior.

Are there any user-facing changes?

No.

@github-actions github-actions bot added common Related to common crate physical-plan Changes to the physical-plan crate labels Mar 3, 2026
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me -- thanks @neilconway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants