Compare commits

..

1 commit

Author SHA1 Message Date
b70e848db2 arc 2021-12-28 15:27:23 -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);
})
}