Commit 60a4d8d
authored
fix(clippy): resolve remaining sort_by and iter_without_into_iter warnings (#554)
- cortex-prompt-harness/builder.rs: use sort_by_key with Reverse for priority sorting
- cortex-tui-input/reader.rs: add IntoIterator impl for &InputReader1 parent 5ec3fa9 commit 60a4d8d
2 files changed
Lines changed: 10 additions & 1 deletion
File tree
- cortex-tui-framework/crates/cortex-tui-input/src
- src/cortex-prompt-harness/src
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
506 | 515 | | |
507 | 516 | | |
508 | 517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments