sync: fix broken link of Python asyncio.Event in SetOnce docs (#7485)

This commit is contained in:
tkoyasak
2025-07-27 08:28:24 +08:00
committed by GitHub
parent c8ab78a84f
commit ce41896f8d
+1 -1
View File
@@ -85,7 +85,7 @@ use std::sync::atomic::Ordering;
/// }
/// ```
///
/// [`asyncio.Event`]: https://docs.python.org/3/library/asyncio-event.html
/// [`asyncio.Event`]: https://docs.python.org/3/library/asyncio-sync.html#asyncio.Event
pub struct SetOnce<T> {
value_set: AtomicBool,
value: UnsafeCell<MaybeUninit<T>>,