Skip to content

Commit 9870df3

Browse files
Minor amendment to wait_timeout docs
This trait method returns `Option<T>` rather than `bool`.
1 parent 51ae140 commit 9870df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ pub trait Listener<T = ()>: Future<Output = T> + __sealed::Sealed {
765765

766766
/// Blocks until a notification is received or a timeout is reached.
767767
///
768-
/// Returns `true` if a notification was received.
768+
/// Returns `Some` if a notification was received.
769769
///
770770
/// # Examples
771771
///

0 commit comments

Comments
 (0)