diff --git a/src/main.rs b/src/main.rs index 68d4bfa..fe25948 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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| parse_line(&x)) .for_each(|res| { if res.is_ok() { res.unwrap().execute(&mut lights);