Compare commits

...

1 commit

Author SHA1 Message Date
b9b1332814 now i am just writing things 2021-12-27 19:12:56 -05:00

View file

@ -35,7 +35,7 @@ fn main() {
let mut lights = lock.write().unwrap();
let pattern = format_multiline("val 255 150 0");
pattern.iter()
.map(|x| parse_line(x))
.map(|x: &Vec<String>| parse_line((*x).clone()))
.for_each(|res| {
if res.is_ok() {
res.unwrap().execute(&mut lights);