Skip to content

Commit b10b718

Browse files
BerrysoftCopilot
andauthored
fix(notify): apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c6a918f commit b10b718

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/notify.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ macro_rules! impl_notify {
9494
NotifyHandle::new(self.flag.clone())
9595
}
9696

97-
/// Get if the event has been notified.
97+
/// Returns whether the event has been notified.
9898
pub fn notified(&self) -> bool {
9999
self.flag.notified()
100100
}
101101

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

0 commit comments

Comments
 (0)