summaryrefslogtreecommitdiffstats
path: root/tokio-test/src/lib.rs
diff options
context:
space:
mode:
authorGurwinder Singh <vargwin@gmail.com>2019-07-15 23:13:54 +0530
committerCarl Lerche <me@carllerche.com>2019-07-15 10:43:54 -0700
commit83273b8b50fd4e7a68c83f9086e2f1bd513174d7 (patch)
tree904db56e391293e4ddf40e326a514ddb98d7b7c4 /tokio-test/src/lib.rs
parentca708d6d8783b4fc86ccc059fb7a40e14edfe812 (diff)
chore: use ready macro from `futures-core` (#1300)
Diffstat (limited to 'tokio-test/src/lib.rs')
-rw-r--r--tokio-test/src/lib.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/tokio-test/src/lib.rs b/tokio-test/src/lib.rs
index 00d38897..7cfd428c 100644
--- a/tokio-test/src/lib.rs
+++ b/tokio-test/src/lib.rs
@@ -20,15 +20,6 @@
//! assert_ready!(fut.poll());
//! ```
-macro_rules! ready {
- ($e:expr) => {
- match $e {
- ::std::task::Poll::Ready(t) => t,
- ::std::task::Poll::Pending => return ::std::task::Poll::Pending,
- }
- };
-}
-
pub mod clock;
pub mod io;
mod macros;