refactor: split TableContext into EditorState and WorkbookController #37
Annotations
1 warning and 1 notice
|
consider using `sort_by_key`:
src/model/recent.rs#L85
warning: consider using `sort_by_key`
--> src/model/recent.rs:85:5
|
85 | items.sort_by(|a, b| b.opened_at.cmp(&a.opened_at));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_sort_by
= note: `#[warn(clippy::unnecessary_sort_by)]` on by default
help: try
|
85 - items.sort_by(|a, b| b.opened_at.cmp(&a.opened_at));
85 + items.sort_by_key(|b| std::cmp::Reverse(b.opened_at));
|
|
|
test windows-latest
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
|