Compare commits
1 commit
12f144b959
...
b70e848db2
Author | SHA1 | Date | |
---|---|---|---|
b70e848db2 |
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ fn main() {
|
||||||
if res.is_ok() {
|
if res.is_ok() {
|
||||||
let mut lights = lock_c.write().unwrap();
|
let mut lights = lock_c.write().unwrap();
|
||||||
let v: Vec<Box<dyn Pattern>> = res.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);
|
x.execute(&mut lights);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue