Skip to content

Commit c6a918f

Browse files
committed
docs(notify): fix old names
1 parent 0a8cf33 commit c6a918f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/notify.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ macro_rules! impl_notify {
6868
}
6969
}
7070

71-
/// An event that won't wake until [`EventHandle::notify`] is called
71+
/// An event that won't wake until [`NotifyHandle::notify`] is called
7272
/// successfully.
7373
#[derive(Debug)]
7474
pub struct Notify {
@@ -99,13 +99,13 @@ macro_rules! impl_notify {
9999
self.flag.notified()
100100
}
101101

102-
/// Wait for [`EventHandle::notify`] called.
102+
/// Wait for [`NotifyHandle::notify`] called.
103103
pub async fn wait(self) {
104104
self.flag.await
105105
}
106106
}
107107

108-
/// A wake up handle to [`Event`].
108+
/// A wake up handle to [`Notify`].
109109
pub struct NotifyHandle {
110110
flag: NotifyImpl,
111111
}

0 commit comments

Comments
 (0)