From 50e69dc765f08d1194cca24130d3db5cf84d6df6 Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Fri, 16 Aug 2019 21:50:02 -0400 Subject: [PATCH] Fix documention links to docs.rs --- src/io/buf_read.rs | 2 +- src/io/read.rs | 2 +- src/io/seek.rs | 2 +- src/io/write.rs | 2 +- src/net/tcp/stream.rs | 6 +++--- src/stream/stream.rs | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/io/buf_read.rs b/src/io/buf_read.rs index a7bfeed6..c0882fd9 100644 --- a/src/io/buf_read.rs +++ b/src/io/buf_read.rs @@ -33,7 +33,7 @@ cfg_if! { /// /// [`std::io::BufRead`]: https://doc.rust-lang.org/std/io/trait.BufRead.html /// [`futures::io::AsyncBufRead`]: -/// https://docs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncBufRead.html +/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncBufRead.html pub trait BufRead { /// Reads all bytes into `buf` until the delimiter `byte` or EOF is reached. /// diff --git a/src/io/read.rs b/src/io/read.rs index d33ec0f9..c76217bf 100644 --- a/src/io/read.rs +++ b/src/io/read.rs @@ -34,7 +34,7 @@ cfg_if! { /// /// [`std::io::Read`]: https://doc.rust-lang.org/std/io/trait.Read.html /// [`futures::io::AsyncRead`]: -/// https://docs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncRead.html +/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncRead.html pub trait Read { /// Reads some bytes from the byte stream. /// diff --git a/src/io/seek.rs b/src/io/seek.rs index 00ac6414..eefb96fd 100644 --- a/src/io/seek.rs +++ b/src/io/seek.rs @@ -31,7 +31,7 @@ cfg_if! { /// /// [`std::io::Seek`]: https://doc.rust-lang.org/std/io/trait.Seek.html /// [`futures::io::AsyncSeek`]: -/// https://docs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncSeek.html +/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncSeek.html pub trait Seek { /// Seeks to a new position in a byte stream. /// diff --git a/src/io/write.rs b/src/io/write.rs index 356aee63..c05e151e 100644 --- a/src/io/write.rs +++ b/src/io/write.rs @@ -33,7 +33,7 @@ cfg_if! { /// /// [`std::io::Write`]: https://doc.rust-lang.org/std/io/trait.Write.html /// [`futures::io::AsyncWrite`]: -/// https://docs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncWrite.html +/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncWrite.html pub trait Write { /// Writes some bytes into the byte stream. /// diff --git a/src/net/tcp/stream.rs b/src/net/tcp/stream.rs index 27df560e..585d1ae0 100644 --- a/src/net/tcp/stream.rs +++ b/src/net/tcp/stream.rs @@ -25,9 +25,9 @@ use crate::task::{Context, Poll}; /// [`connect`]: struct.TcpStream.html#method.connect /// [accepting]: struct.TcpListener.html#method.accept /// [listener]: struct.TcpListener.html -/// [`AsyncRead`]: https://docs/futures-preview/0.3.0-alpha.13/futures/io/trait.AsyncRead.html -/// [`AsyncWrite`]: https://docs/futures-preview/0.3.0-alpha.13/futures/io/trait.AsyncRead.html -/// [`futures::io`]: https://docs/futures-preview/0.3.0-alpha.13/futures/io +/// [`AsyncRead`]: https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncRead.html +/// [`AsyncWrite`]: https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncWrite.html +/// [`futures::io`]: https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/index.html /// [`shutdown`]: struct.TcpStream.html#method.shutdown /// [`std::net::TcpStream`]: https://doc.rust-lang.org/std/net/struct.TcpStream.html /// diff --git a/src/stream/stream.rs b/src/stream/stream.rs index 4421d31d..e4e5012a 100644 --- a/src/stream/stream.rs +++ b/src/stream/stream.rs @@ -53,7 +53,7 @@ cfg_if! { /// /// [`std::iter::Iterator`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html /// [`futures::stream::Stream`]: -/// https://docs/futures-preview/0.3.0-alpha.17/futures/stream/trait.Stream.html +/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/stream/trait.Stream.html pub trait Stream { /// The type of items yielded by this stream. type Item;