diff --git a/src/util/pattern.rs b/src/util/pattern.rs index ec06c1d..df0dd48 100644 --- a/src/util/pattern.rs +++ b/src/util/pattern.rs @@ -25,7 +25,7 @@ impl<'a> TryFrom> for Box> { struct Unit; impl<'a> Pattern<'a> for Unit { - fn execute(&self, values: &'a mut RwLockWriteGuard<'_, [RawColor]>) {} + fn execute(&self, values: &'a mut RwLockWriteGuard<'_, [RawColor]>)) {} fn parse(args: Vec) -> Result { Ok(Unit {}) } @@ -38,7 +38,7 @@ struct Value { } impl<'a> Pattern<'a> for Value { - fn execute(&self, values: &'a mut RwLockWriteGuard<'_, [RawColor]>) { + fn execute(&self, values: &'a mut RwLockWriteGuard<'_, [RawColor]>)) { for i in 0..crate::LED_SIZE { let color: RawColor = *values[i]; if self.r.is_some() {