mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
sync: fix broken link of Python asyncio.Event
in SetOnce
docs (#7485)
This commit is contained in:
parent
c8ab78a84f
commit
ce41896f8d
@ -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>>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user