chore: use ready macro from futures-core (#1300)

This commit is contained in:
Gurwinder Singh
2019-07-15 10:43:54 -07:00
committed by Carl Lerche
parent ca708d6d87
commit 83273b8b50
48 changed files with 42 additions and 137 deletions
-9
View File
@@ -32,15 +32,6 @@
//! [`Interval`]: struct.Interval.html
//! [`Timer`]: timer/struct.Timer.html
macro_rules! ready {
($e:expr) => {
match $e {
::std::task::Poll::Ready(v) => v,
::std::task::Poll::Pending => return ::std::task::Poll::Pending,
}
};
}
pub mod clock;
pub mod delay_queue;
#[cfg(feature = "async-traits")]