mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-01-24 23:16:48 +00:00
docs: fix link to tokio::select! (#7867)
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user