now i am just writing things

This commit is contained in:
jane 2021-12-27 19:09:59 -05:00
parent 2de3ecde06
commit b9b1332814

View file

@ -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| parse_line(x)) .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);