We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a8cf33 commit c6a918fCopy full SHA for c6a918f
1 file changed
src/notify.rs
@@ -68,7 +68,7 @@ macro_rules! impl_notify {
68
}
69
70
71
- /// An event that won't wake until [`EventHandle::notify`] is called
+ /// An event that won't wake until [`NotifyHandle::notify`] is called
72
/// successfully.
73
#[derive(Debug)]
74
pub struct Notify {
@@ -99,13 +99,13 @@ macro_rules! impl_notify {
99
self.flag.notified()
100
101
102
- /// Wait for [`EventHandle::notify`] called.
+ /// Wait for [`NotifyHandle::notify`] called.
103
pub async fn wait(self) {
104
self.flag.await
105
106
107
108
- /// A wake up handle to [`Event`].
+ /// A wake up handle to [`Notify`].
109
pub struct NotifyHandle {
110
flag: NotifyImpl,
111
0 commit comments