breadpad/breadpad-shared/src
Breadway fe2724220a
All checks were successful
check / check (push) Successful in 1m17s
Fix clippy warnings and a stale test assertion surfaced by check.yml
check.yml runs clippy -D warnings and cargo test for the first time in
this repo's history, surfacing pre-existing lint debt across all four
workspace crates plus one stale test assertion (breadpad-shared's
Palette default-background test still expected bread-theme's old
#1e1e2e; the upstream design system moved to #0c0c0c a while back and
nothing caught the drift since tests never ran in CI).

All fixes are mechanical: needless returns/closures/borrows, manual
Default impls replaceable by #[derive], map_or -> is_some_and, manual
range checks -> RangeInclusive::contains, a non-idiomatic sort_by ->
sort_by_key, an overly complex inline type given an alias, and moving
a function that ended up defined after its own test module. The one
exception is NoteType::from_str, which clippy flags for shadowing
std::str::FromStr's name — left as `#[allow(...)]` with a comment
rather than renamed, since it has 30+ call sites across every crate
in the workspace and returns Self directly rather than Result.
2026-08-04 17:52:45 +08:00
..
ai.rs Fix clippy warnings and a stale test assertion surfaced by check.yml 2026-08-04 17:52:45 +08:00
calendar.rs Prepare repo for GitHub publication 2026-06-06 12:25:40 +08:00
classifier.rs fix: skip ROCm EP registration when not available in ORT build 2026-06-07 15:53:06 +08:00
config.rs Fix clippy warnings and a stale test assertion surfaced by check.yml 2026-08-04 17:52:45 +08:00
lib.rs Prepare repo for GitHub publication 2026-06-06 12:25:40 +08:00
parser.rs Fix clippy warnings and a stale test assertion surfaced by check.yml 2026-08-04 17:52:45 +08:00
scheduler.rs Fix clippy warnings and a stale test assertion surfaced by check.yml 2026-08-04 17:52:45 +08:00
store.rs Fix clippy warnings and a stale test assertion surfaced by check.yml 2026-08-04 17:52:45 +08:00
theme.rs Fix clippy warnings and a stale test assertion surfaced by check.yml 2026-08-04 17:52:45 +08:00
types.rs Fix clippy warnings and a stale test assertion surfaced by check.yml 2026-08-04 17:52:45 +08:00
util.rs Prepare repo for GitHub publication 2026-06-06 12:25:40 +08:00