summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/task/atomic_waker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/sync/task/atomic_waker.rs')
-rw-r--r--tokio/src/sync/task/atomic_waker.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tokio/src/sync/task/atomic_waker.rs b/tokio/src/sync/task/atomic_waker.rs
index 73b1745f..ae4cac7c 100644
--- a/tokio/src/sync/task/atomic_waker.rs
+++ b/tokio/src/sync/task/atomic_waker.rs
@@ -141,13 +141,12 @@ impl AtomicWaker {
}
}
+ /*
/// Registers the current waker to be notified on calls to `wake`.
- ///
- /// This is the same as calling `register_task` with `task::current()`.
- #[cfg(feature = "io-driver")]
pub(crate) fn register(&self, waker: Waker) {
self.do_register(waker);
}
+ */
/// Registers the provided waker to be notified on calls to `wake`.
///