summaryrefslogtreecommitdiffstats
path: root/tokio-sync/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-sync/src/lib.rs')
-rw-r--r--tokio-sync/src/lib.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/tokio-sync/src/lib.rs b/tokio-sync/src/lib.rs
index 384740ac..00f9b700 100644
--- a/tokio-sync/src/lib.rs
+++ b/tokio-sync/src/lib.rs
@@ -21,19 +21,6 @@ macro_rules! debug {
}
}
-/// Unwrap a ready value or propagate `Poll::Pending`.
-#[macro_export]
-macro_rules! ready {
- ($e:expr) => {{
- use std::task::Poll::{Pending, Ready};
-
- match $e {
- Ready(v) => v,
- Pending => return Pending,
- }
- }};
-}
-
macro_rules! if_fuzz {
($($t:tt)*) => {{
if false { $($t)* }