summaryrefslogtreecommitdiffstats
path: root/tokio-futures/src/async_wait.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-futures/src/async_wait.rs')
-rw-r--r--tokio-futures/src/async_wait.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/tokio-futures/src/async_wait.rs b/tokio-futures/src/async_wait.rs
deleted file mode 100644
index e626f99e..00000000
--- a/tokio-futures/src/async_wait.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-/// Wait for a future to complete.
-#[macro_export]
-macro_rules! async_wait {
- ($e:expr) => {{
- #[allow(unused_imports)]
- use $crate::compat::backward::IntoAwaitable as IntoAwaitableBackward;
- #[allow(unused_imports)]
- use $crate::compat::forward::IntoAwaitable as IntoAwaitableForward;
-
- #[allow(unused_mut)]
- let mut e = $e;
- let e = e.into_awaitable();
- e.await
- }};
-}