Compare commits
1 commit
d3bd1fee20
...
23d50d2869
Author | SHA1 | Date | |
---|---|---|---|
23d50d2869 |
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ fn main() {
|
|||
.collect();
|
||||
if res.is_ok() {
|
||||
let mut p = pattern.write().unwrap();
|
||||
p = res.unwrap();
|
||||
*p = res.unwrap();
|
||||
}
|
||||
loop {
|
||||
thread::sleep(time::Duration::from_millis(250));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue