docs: fix link to tokio::select! (#7867)

This commit is contained in:
Mattia Pitossi
2026-01-20 22:05:01 +01:00
committed by GitHub
parent 450fa2d09d
commit 8fd44d9bdc

View File

@@ -451,7 +451,7 @@ where
/// that panicked or was aborted. /// that panicked or was aborted.
/// * `None` if the `JoinMap` is empty. /// * `None` if the `JoinMap` is empty.
/// ///
/// [`tokio::select!`]: tokio::select /// [`tokio::select!`]: https://docs.rs/tokio/latest/tokio/macro.select.html
pub async fn join_next(&mut self) -> Option<(K, Result<V, JoinError>)> { pub async fn join_next(&mut self) -> Option<(K, Result<V, JoinError>)> {
loop { loop {
let (res, id) = match self.tasks.join_next_with_id().await { let (res, id) = match self.tasks.join_next_with_id().await {