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.
asyncio.Event
SetOnce
1 parent c8ab78a commit ce41896Copy full SHA for ce41896
tokio/src/sync/set_once.rs
@@ -85,7 +85,7 @@ use std::sync::atomic::Ordering;
85
/// }
86
/// ```
87
///
88
-/// [`asyncio.Event`]: https://docs.python.org/3/library/asyncio-event.html
+/// [`asyncio.Event`]: https://docs.python.org/3/library/asyncio-sync.html#asyncio.Event
89
pub struct SetOnce<T> {
90
value_set: AtomicBool,
91
value: UnsafeCell<MaybeUninit<T>>,
0 commit comments