Skip to content

Commit a883fd4

Browse files
authoredMay 15, 2023
docs: link to latest version of tokio-util docs (#5694)
1 parent 1014262 commit a883fd4

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed
 

‎tokio-stream/src/lib.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
//! [`tokio-util`] provides the [`StreamReader`] and [`ReaderStream`]
6464
//! types when the io feature is enabled.
6565
//!
66-
//! [`tokio-util`]: https://docs.rs/tokio-util/0.4/tokio_util/codec/index.html
67-
//! [`tokio::io`]: https://docs.rs/tokio/1.0/tokio/io/index.html
68-
//! [`AsyncRead`]: https://docs.rs/tokio/1.0/tokio/io/trait.AsyncRead.html
69-
//! [`AsyncWrite`]: https://docs.rs/tokio/1.0/tokio/io/trait.AsyncWrite.html
70-
//! [`ReaderStream`]: https://docs.rs/tokio-util/0.4/tokio_util/io/struct.ReaderStream.html
71-
//! [`StreamReader`]: https://docs.rs/tokio-util/0.4/tokio_util/io/struct.StreamReader.html
66+
//! [`tokio-util`]: https://docs.rs/tokio-util/latest/tokio_util/codec/index.html
67+
//! [`tokio::io`]: https://docs.rs/tokio/latest/tokio/io/index.html
68+
//! [`AsyncRead`]: https://docs.rs/tokio/latest/tokio/io/trait.AsyncRead.html
69+
//! [`AsyncWrite`]: https://docs.rs/tokio/latest/tokio/io/trait.AsyncWrite.html
70+
//! [`ReaderStream`]: https://docs.rs/tokio-util/latest/tokio_util/io/struct.ReaderStream.html
71+
//! [`StreamReader`]: https://docs.rs/tokio-util/latest/tokio_util/io/struct.StreamReader.html
7272
7373
#[macro_use]
7474
mod macros;

‎tokio/src/io/util/async_buf_read_ext.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ cfg_io_util! {
146146
/// [`next_line`] method.
147147
/// * Use [`tokio_util::codec::LinesCodec`][LinesCodec].
148148
///
149-
/// [LinesCodec]: https://docs.rs/tokio-util/0.6/tokio_util/codec/struct.LinesCodec.html
149+
/// [LinesCodec]: https://docs.rs/tokio-util/latest/tokio_util/codec/struct.LinesCodec.html
150150
/// [`read_until`]: Self::read_until
151151
/// [`lines`]: Self::lines
152152
/// [`next_line`]: crate::io::Lines::next_line

‎tokio/src/sync/mpsc/bounded.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use std::task::{Context, Poll};
1818
/// To convert the `Sender` into a `Sink` or use it in a poll function, you can
1919
/// use the [`PollSender`] utility.
2020
///
21-
/// [`PollSender`]: https://docs.rs/tokio-util/0.6/tokio_util/sync/struct.PollSender.html
21+
/// [`PollSender`]: https://docs.rs/tokio-util/latest/tokio_util/sync/struct.PollSender.html
2222
pub struct Sender<T> {
2323
chan: chan::Tx<T, Semaphore>,
2424
}

‎tokio/src/sync/semaphore.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ use std::sync::Arc;
7373
/// }
7474
/// ```
7575
///
76-
/// [`PollSemaphore`]: https://docs.rs/tokio-util/0.6/tokio_util/sync/struct.PollSemaphore.html
76+
/// [`PollSemaphore`]: https://docs.rs/tokio-util/latest/tokio_util/sync/struct.PollSemaphore.html
7777
/// [`Semaphore::acquire_owned`]: crate::sync::Semaphore::acquire_owned
7878
#[derive(Debug)]
7979
pub struct Semaphore {

‎tokio/src/task/blocking.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ cfg_rt! {
146146
/// [blocking]: ../index.html#cpu-bound-tasks-and-blocking-code
147147
/// [rayon]: https://docs.rs/rayon
148148
/// [`mpsc channel`]: crate::sync::mpsc
149-
/// [`SyncIoBridge`]: https://docs.rs/tokio-util/0.6/tokio_util/io/struct.SyncIoBridge.html
149+
/// [`SyncIoBridge`]: https://docs.rs/tokio-util/latest/tokio_util/io/struct.SyncIoBridge.html
150150
/// [hyper]: https://docs.rs/hyper
151151
/// [`thread::spawn`]: fn@std::thread::spawn
152152
/// [`shutdown_timeout`]: fn@crate::runtime::Runtime::shutdown_timeout

0 commit comments

Comments
 (0)