Compare commits
1 commit
eab3cf03e5
...
6333245304
Author | SHA1 | Date | |
---|---|---|---|
6333245304 |
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ fn main() {
|
|||
let c_lock = Arc::clone(&lock);
|
||||
let mut lights = c_lock.write().unwrap();
|
||||
let mut data = pattern.lock().unwrap();
|
||||
for p in *pattern {
|
||||
for p in *data {
|
||||
//let c_lock = Arc::clone(&lock);
|
||||
//let mut lights = c_lock.write().unwrap();
|
||||
p.execute(&mut lights);
|
||||
|
|
Loading…
Reference in a new issue