Compare commits
1 commit
e0d5c05a44
...
b9b1332814
Author | SHA1 | Date | |
---|---|---|---|
b9b1332814 |
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fn main() {
|
||||||
let mut lights = lock.write().unwrap();
|
let mut lights = lock.write().unwrap();
|
||||||
let pattern = format_multiline("val 255 150 0");
|
let pattern = format_multiline("val 255 150 0");
|
||||||
pattern.iter()
|
pattern.iter()
|
||||||
.map(|x: &Vec<String>| parse_line((*x).clone())))
|
.map(|x: &Vec<String>| parse_line((*x).clone()))
|
||||||
.for_each(|res| {
|
.for_each(|res| {
|
||||||
if res.is_ok() {
|
if res.is_ok() {
|
||||||
res.unwrap().execute(&mut lights);
|
res.unwrap().execute(&mut lights);
|
||||||
|
|
Loading…
Reference in a new issue