fix(ci): Resolve clippy warnings for CI pipeline

- Add Default impl for AnimatorState (new_without_default)
- Fix needless late initialization in tray.rs
- Collapse else-if in setup_aura.rs
- Fix mut_range_bound in anime-led-scan example

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
mihai2mn
2026-01-24 18:05:19 +01:00
parent 17bbd8aabb
commit 8d6a668f9e
4 changed files with 13 additions and 9 deletions

View File

@@ -27,6 +27,12 @@ pub struct AnimatorState {
pub running: Arc<AtomicBool>,
}
impl Default for AnimatorState {
fn default() -> Self {
Self::new()
}
}
impl AnimatorState {
pub fn new() -> Self {
Self {