Skip to content

fix(#893): clippy unnecessary_sort_by in cognitive_memory - #894

Merged
rysweet merged 1 commit into
mainfrom
fix/clippy-sort-by-893
Apr 18, 2026
Merged

fix(#893): clippy unnecessary_sort_by in cognitive_memory#894
rysweet merged 1 commit into
mainfrom
fix/clippy-sort-by-893

Conversation

@rysweet

@rysweet rysweet commented Apr 18, 2026

Copy link
Copy Markdown
Owner

Replaces sort_by(|a,b| b.0.cmp(&a.0)) with sort_by_key(|x| Reverse(x.0)) in src/cognitive_memory/mod.rs to satisfy clippy::unnecessary_sort_by and unblock verify CI.

Closes #893. Unblocks validation issue #890 (end-to-end smoke of research idea extractor) and goal explore-developer-ideas-from-tracked-researchers.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rysweet

rysweet commented Apr 18, 2026

Copy link
Copy Markdown
Owner Author

rebased + clippy clean; CI re-running

@rysweet
rysweet merged commit 1338247 into main Apr 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: clippy unnecessary_sort_by in cognitive_memory blocking PR #889 CI (unblocks #890)

2 participants