mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user