Commit be50629
committed
fix(clippy): use sort_by_key instead of sort_by for reverse sorting
- 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 be50629
File tree
2 files changed
+2
-2
lines changed- src
- cortex-apply-patch/src
- cortex-compact/src/auto_compaction
2 files changed
+2
-2
lines changed| 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