Commit a135084
committed
chore(deps): bump
KSXGitHub/perfectionist#66 extends the proc-macro-synthesised
skip from `single_letter_let_binding` to the rest of the
single-letter family and `arc_rc_clone`. The expanded check
walks the relevant span's expansion chain rather than only
calling `Span::in_external_macro`, which catches `clap_derive`'s
`default_value_t` synthesis where the previous statement-span-
only check did not.
With that, the `clap_derive` `let s` false positive originally
filed as #410 — and re-surfaced after the apparent #62 fix —
is fully resolved. Drop the module-level
`allow(perfectionist::single_letter_let_binding)` from
`src/args.rs`.
https://claude.ai/code/session_01CoRidYHvni9nKNgxMPXmfQperfectionist to 3ca7f01
1 parent 9fb4f63 commit a135084
2 files changed
Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 1 | | |
10 | 2 | | |
11 | 3 | | |
| |||
0 commit comments