Commit 8623ef4
CI: fix clippy collapsible_match on stable 1.96
rustc 1.96 expanded clippy::collapsible_match to flag a match arm whose
sole body is an `if`, breaking the `-D warnings` gate (CI runs
dtolnay/rust-toolchain@stable = 1.96.1; local was 1.90). Move the
pacs.002 `find_first(...).is_none()` check into a match guard as clippy
suggests. No behavior change.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent daff242 commit 8623ef4
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 180 | + | |
| 181 | + | |
184 | 182 | | |
185 | 183 | | |
186 | 184 | | |
| |||
0 commit comments