Skip to content

Commit 2ef1a76

Browse files
author
James Munns
authored
Merge pull request #63 from eminence/doc_url_fixes
Fix documention links to docs.rs
2 parents f9fe739 + 50e69dc commit 2ef1a76

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/io/buf_read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cfg_if! {
3333
///
3434
/// [`std::io::BufRead`]: https://doc.rust-lang.org/std/io/trait.BufRead.html
3535
/// [`futures::io::AsyncBufRead`]:
36-
/// https://docs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncBufRead.html
36+
/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncBufRead.html
3737
pub trait BufRead {
3838
/// Reads all bytes into `buf` until the delimiter `byte` or EOF is reached.
3939
///

src/io/read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ cfg_if! {
3434
///
3535
/// [`std::io::Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
3636
/// [`futures::io::AsyncRead`]:
37-
/// https://docs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncRead.html
37+
/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncRead.html
3838
pub trait Read {
3939
/// Reads some bytes from the byte stream.
4040
///

src/io/seek.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cfg_if! {
3131
///
3232
/// [`std::io::Seek`]: https://doc.rust-lang.org/std/io/trait.Seek.html
3333
/// [`futures::io::AsyncSeek`]:
34-
/// https://docs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncSeek.html
34+
/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncSeek.html
3535
pub trait Seek {
3636
/// Seeks to a new position in a byte stream.
3737
///

src/io/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cfg_if! {
3333
///
3434
/// [`std::io::Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
3535
/// [`futures::io::AsyncWrite`]:
36-
/// https://docs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncWrite.html
36+
/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncWrite.html
3737
pub trait Write {
3838
/// Writes some bytes into the byte stream.
3939
///

src/net/tcp/stream.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ use crate::task::{Context, Poll};
2525
/// [`connect`]: struct.TcpStream.html#method.connect
2626
/// [accepting]: struct.TcpListener.html#method.accept
2727
/// [listener]: struct.TcpListener.html
28-
/// [`AsyncRead`]: https://docs/futures-preview/0.3.0-alpha.13/futures/io/trait.AsyncRead.html
29-
/// [`AsyncWrite`]: https://docs/futures-preview/0.3.0-alpha.13/futures/io/trait.AsyncRead.html
30-
/// [`futures::io`]: https://docs/futures-preview/0.3.0-alpha.13/futures/io
28+
/// [`AsyncRead`]: https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncRead.html
29+
/// [`AsyncWrite`]: https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncWrite.html
30+
/// [`futures::io`]: https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/index.html
3131
/// [`shutdown`]: struct.TcpStream.html#method.shutdown
3232
/// [`std::net::TcpStream`]: https://doc.rust-lang.org/std/net/struct.TcpStream.html
3333
///

src/stream/stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ cfg_if! {
5353
///
5454
/// [`std::iter::Iterator`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html
5555
/// [`futures::stream::Stream`]:
56-
/// https://docs/futures-preview/0.3.0-alpha.17/futures/stream/trait.Stream.html
56+
/// https://docs.rs/futures-preview/0.3.0-alpha.17/futures/stream/trait.Stream.html
5757
pub trait Stream {
5858
/// The type of items yielded by this stream.
5959
type Item;

0 commit comments

Comments
 (0)