Skip to content

Commit f9d093e

Browse files
author
Andrew J Westlake
committed
Switched to stable futures::future::pending instead of std::future::pending
1 parent 65497c5 commit f9d093e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/tokio.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
use std::{
2-
future::{pending, Future},
3-
thread,
4-
};
1+
use std::{future::Future, thread};
52

63
use ::tokio::{
74
runtime::{Builder, Runtime},
85
task,
96
};
7+
use futures::future::pending;
108
use once_cell::sync::OnceCell;
119
use pyo3::prelude::*;
1210

0 commit comments

Comments
 (0)