tokio/macros/
ready.rs

1macro_rules! ready {
2    ($e:expr $(,)?) => {
3        match $e {
4            std::task::Poll::Ready(t) => t,
5            std::task::Poll::Pending => return std::task::Poll::Pending,
6        }
7    };
8}