Compare commits

..

1 commit

Author SHA1 Message Date
12f144b959 arc 2021-12-28 15:28:08 -05:00

View file

@ -39,7 +39,7 @@ fn main() {
if res.is_ok() {
let mut lights = lock_c.write().unwrap();
let v: Vec<Box<dyn Pattern>> = res.unwrap();
v.iter.for_each(move |x| {
v.iter().for_each(move |x| {
x.execute(&mut lights);
})
}