You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
♻️ Apply clippy suggestions for idiomatic Rust patterns
Refactor codebase to use more idiomatic Rust patterns based on clippy
recommendations across 15 files:
- Replace manual sorting with sort_by_key in session.rs for clearer intent
- Replace map().unwrap_or() chains with is_ok_and() for cleaner predicate
checks in watcher.rs
- Use checked_div() with unwrap_or() fallback for scroll percentage
calculations in changelog, pr, release_notes, and review render modules
- Reformat long function signatures and error map closures for better
readability in provider.rs and parallel_analyze.rs
- Split complex Style::default() chains across multiple lines in theme
selector, settings modal, and ui.rs for improved maintainability
- Use std::time::Duration::from_secs() instead of from_millis(2000)
These changes improve code clarity and leverage Rust's standard patterns
without altering functionality. All formatting follows rustfmt conventions.
0 commit comments