Skip to content

Commit ce41896

Browse files
authored
sync: fix broken link of Python asyncio.Event in SetOnce docs (#7485)
1 parent c8ab78a commit ce41896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/sync/set_once.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ use std::sync::atomic::Ordering;
8585
/// }
8686
/// ```
8787
///
88-
/// [`asyncio.Event`]: https://docs.python.org/3/library/asyncio-event.html
88+
/// [`asyncio.Event`]: https://docs.python.org/3/library/asyncio-sync.html#asyncio.Event
8989
pub struct SetOnce<T> {
9090
value_set: AtomicBool,
9191
value: UnsafeCell<MaybeUninit<T>>,

0 commit comments

Comments
 (0)