mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-19 00:00:09 +02:00
sync: fix broken link of Python asyncio.Event in SetOnce docs (#7485)
This commit is contained in:
@@ -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>>,
|
||||
|
||||
Reference in New Issue
Block a user