Commit 29e8495
authored
chore: Enable
## 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.assigning_clones clippy lint (#20670)1 parent 46ac990 commit 29e8495
4 files changed
Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2711 | 2711 | | |
2712 | 2712 | | |
2713 | 2713 | | |
2714 | | - | |
2715 | | - | |
2716 | | - | |
2717 | | - | |
| 2714 | + | |
2718 | 2715 | | |
2719 | 2716 | | |
2720 | 2717 | | |
| |||
2852 | 2849 | | |
2853 | 2850 | | |
2854 | 2851 | | |
2855 | | - | |
2856 | | - | |
2857 | | - | |
2858 | | - | |
| 2852 | + | |
2859 | 2853 | | |
2860 | 2854 | | |
2861 | 2855 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1429 | 1429 | | |
1430 | 1430 | | |
1431 | 1431 | | |
1432 | | - | |
| 1432 | + | |
1433 | 1433 | | |
1434 | 1434 | | |
1435 | 1435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
741 | 740 | | |
742 | | - | |
743 | | - | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
744 | 745 | | |
745 | 746 | | |
746 | 747 | | |
| |||
0 commit comments