Skip to content

Commit 593b860

Browse files
committed
fix tokio feature
1 parent aa23ce7 commit 593b860

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: src/tokio.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use once_cell::sync::Lazy;
2-
use tokio_crate as tokio;
32

43
pub(crate) fn enter() -> tokio::runtime::EnterGuard<'static> {
54
RUNTIME.enter()
@@ -21,8 +20,6 @@ static RUNTIME: Lazy<tokio::runtime::Handle> = Lazy::new(|| {
2120

2221
#[cfg(test)]
2322
mod test {
24-
use super::*;
25-
2623
async fn compute() -> u8 {
2724
tokio::spawn(async { 1 + 2 }).await.unwrap()
2825
}

0 commit comments

Comments
 (0)