]> git.feebdaed.xyz Git - 0xmirror/tokio.git/commitdiff
sync: fix broken link of Python `asyncio.Event` in `SetOnce` docs (#7485)
authortkoyasak <72780548+tkoyasak@users.noreply.github.com>
Sun, 27 Jul 2025 00:28:24 +0000 (09:28 +0900)
committerGitHub <noreply@github.com>
Sun, 27 Jul 2025 00:28:24 +0000 (08:28 +0800)
tokio/src/sync/set_once.rs

index 017bef5478604102148df75b4205cb9890665358..b8615ae8771c05e262c674cdaf808b71c1644fa5 100644 (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>>,