We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43ddd6d commit b96757eCopy full SHA for b96757e
src/client/legacy/pool.rs
@@ -15,9 +15,10 @@ use std::task::{self, Poll};
15
use std::time::{Duration, Instant};
16
17
use futures_channel::oneshot;
18
+use futures_util::ready;
19
use tracing::{debug, trace};
20
-use crate::common::{exec, exec::Exec, ready};
21
+use crate::common::exec::{self, Exec};
22
23
// FIXME: allow() required due to `impl Trait` leaking types to this lint
24
#[allow(missing_debug_implementations)]
src/common/mod.rs
@@ -1,15 +1,5 @@
1
#![allow(missing_docs)]
2
3
-macro_rules! ready {
4
- ($e:expr) => {
5
- match $e {
6
- std::task::Poll::Ready(v) => v,
7
- std::task::Poll::Pending => return std::task::Poll::Pending,
8
- }
9
- };
10
-}
11
-
12
-pub(crate) use ready;
13
pub(crate) mod exec;
14
#[cfg(feature = "client")]
mod lazy;
0 commit comments