Commit 3dd881b
committed
fix(clippy): satisfy new lints from nightly-2026-03-15
- collapsible_match: fold the bounds check into the KeyCode::Down match
arm guard in vite_install package_manager
- unnecessary_sort_by: switch descending sorts in vite_js_runtime and
vite_setup to sort_by_key with std::cmp::Reverse
- unnecessary_trailing_comma: drop trailing comma in a help.rs test
assertion1 parent c9531ce commit 3dd881b
4 files changed
Lines changed: 5 additions & 7 deletions
File tree
- crates
- vite_install/src
- vite_js_runtime/src/providers
- vite_setup/src
- packages/cli/binding/src/cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
| 874 | + | |
| 875 | + | |
878 | 876 | | |
879 | 877 | | |
880 | 878 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
| 478 | + | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
0 commit comments