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();
|
.collect();
|
||||||
if res.is_ok() {
|
if res.is_ok() {
|
||||||
let mut p = pattern.write().unwrap();
|
let mut p = pattern.write().unwrap();
|
||||||
p = res.unwrap();
|
*p = res.unwrap();
|
||||||
}
|
}
|
||||||
loop {
|
loop {
|
||||||
thread::sleep(time::Duration::from_millis(250));
|
thread::sleep(time::Duration::from_millis(250));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue