summaryrefslogtreecommitdiffstats
path: root/tokio-util/src
diff options
context:
space:
mode:
authordamienrg <damienrg@users.noreply.github.com>2020-04-21 13:08:07 +0200
committerGitHub <noreply@github.com>2020-04-21 13:08:07 +0200
commit43bbbf61a2a87a879834ec644fd4f1c598e77640 (patch)
treebee07bc4929dab3b374e490bcb1726999ade1389 /tokio-util/src
parent282b00cbe888a96669877ce70662fba87e8c0e3c (diff)
Remove relative link when possible and fix invalid links (#2423)
The link to tokio::main was relative to tokio_macros crate in the source directory. This is why it worked in local build of documentation and not in doc.rs. Refs: #1473
Diffstat (limited to 'tokio-util/src')
-rw-r--r--tokio-util/src/codec/length_delimited.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tokio-util/src/codec/length_delimited.rs b/tokio-util/src/codec/length_delimited.rs
index 3ef6fd3a..90684d73 100644
--- a/tokio-util/src/codec/length_delimited.rs
+++ b/tokio-util/src/codec/length_delimited.rs
@@ -367,9 +367,9 @@
//! [`LengthDelimitedCodec::new()`]: method@LengthDelimitedCodec::new
//! [`FramedRead`]: struct@FramedRead
//! [`FramedWrite`]: struct@FramedWrite
-//! [`AsyncRead`]: ../../trait.AsyncRead.html
-//! [`AsyncWrite`]: ../../trait.AsyncWrite.html
-//! [`Encoder`]: ../trait.Encoder.html
+//! [`AsyncRead`]: trait@tokio::io::AsyncRead
+//! [`AsyncWrite`]: trait@tokio::io::AsyncWrite
+//! [`Encoder`]: trait@Encoder
//! [`BytesMut`]: https://docs.rs/bytes/0.4/bytes/struct.BytesMut.html
use crate::codec::{Decoder, Encoder, Framed, FramedRead, FramedWrite};