s
This commit is contained in:
parent
dafac3d248
commit
44612e48e7
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ fn main() {
|
|||
thread::sleep(time::Duration::from_millis(250));
|
||||
let mut lights = lock.write().unwrap();
|
||||
let pattern = format_multiline("unit");
|
||||
let res: Result<Vec<Box<dyn Pattern>>> = pattern.iter()
|
||||
let res: Result<Vec<Box<dyn Pattern>>, ParseError> = pattern.iter()
|
||||
.map(|x: &Vec<String>| parse_line((*x).clone()))
|
||||
.collect();
|
||||
|
||||
|
|
Loading…
Reference in a new issue