Commit 5ec3fa9
authored
fix(clippy): use sort_by_key instead of sort_by for reverse sorting (#553)
- Fix cortex-apply-patch backup.rs: use sort_by_key with Reverse
- Fix cortex-compact log_pruner.rs: use sort_by_key with Reverse
These changes address clippy::unnecessary_sort_by warnings.1 parent 454619f commit 5ec3fa9
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments