We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb147a2 commit 21de476Copy full SHA for 21de476
tokio/src/sync/mod.rs
@@ -428,6 +428,11 @@
428
//! bounding of any kind.
429
430
cfg_sync! {
431
+ /// Named future types.
432
+ pub mod futures {
433
+ pub use super::notify::Notified;
434
+ }
435
+
436
mod barrier;
437
pub use barrier::{Barrier, BarrierWaitResult};
438
tokio/src/sync/notify.rs
@@ -140,7 +140,7 @@ struct Waiter {
140
_p: PhantomPinned,
141
}
142
143
-/// Future returned from `notified()`
+/// Future returned from [`Notify::notified()`]
144
#[derive(Debug)]
145
pub struct Notified<'a> {
146
/// The `Notify` being received on.
0 commit comments