We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa23ce7 commit 593b860Copy full SHA for 593b860
src/tokio.rs
@@ -1,5 +1,4 @@
1
use once_cell::sync::Lazy;
2
-use tokio_crate as tokio;
3
4
pub(crate) fn enter() -> tokio::runtime::EnterGuard<'static> {
5
RUNTIME.enter()
@@ -21,8 +20,6 @@ static RUNTIME: Lazy<tokio::runtime::Handle> = Lazy::new(|| {
21
20
22
#[cfg(test)]
23
mod test {
24
- use super::*;
25
-
26
async fn compute() -> u8 {
27
tokio::spawn(async { 1 + 2 }).await.unwrap()
28
}
0 commit comments