forked from mirror/async-std
$cargo fmt
This commit is contained in:
parent
70e8476264
commit
f2bf01223c
1 changed files with 1 additions and 3 deletions
|
@ -167,9 +167,7 @@ impl Stdin {
|
||||||
static ref STDIN: std::io::Stdin = std::io::stdin();
|
static ref STDIN: std::io::Stdin = std::io::stdin();
|
||||||
}
|
}
|
||||||
|
|
||||||
blocking::spawn(async {
|
blocking::spawn(async { StdinLock(STDIN.lock()) }).await
|
||||||
StdinLock(STDIN.lock())
|
|
||||||
}).await
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue