forked from mirror/async-std
Fix documention links to docs.rs
This commit is contained in:
parent
f9fe7390d6
commit
50e69dc765
6 changed files with 8 additions and 8 deletions
|
@ -33,7 +33,7 @@ cfg_if! {
|
||||||
///
|
///
|
||||||
/// [`std::io::BufRead`]: https://doc.rust-lang.org/std/io/trait.BufRead.html
|
/// [`std::io::BufRead`]: https://doc.rust-lang.org/std/io/trait.BufRead.html
|
||||||
/// [`futures::io::AsyncBufRead`]:
|
/// [`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 {
|
pub trait BufRead {
|
||||||
/// Reads all bytes into `buf` until the delimiter `byte` or EOF is reached.
|
/// Reads all bytes into `buf` until the delimiter `byte` or EOF is reached.
|
||||||
///
|
///
|
||||||
|
|
|
@ -34,7 +34,7 @@ cfg_if! {
|
||||||
///
|
///
|
||||||
/// [`std::io::Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
|
/// [`std::io::Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
|
||||||
/// [`futures::io::AsyncRead`]:
|
/// [`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 {
|
pub trait Read {
|
||||||
/// Reads some bytes from the byte stream.
|
/// Reads some bytes from the byte stream.
|
||||||
///
|
///
|
||||||
|
|
|
@ -31,7 +31,7 @@ cfg_if! {
|
||||||
///
|
///
|
||||||
/// [`std::io::Seek`]: https://doc.rust-lang.org/std/io/trait.Seek.html
|
/// [`std::io::Seek`]: https://doc.rust-lang.org/std/io/trait.Seek.html
|
||||||
/// [`futures::io::AsyncSeek`]:
|
/// [`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 {
|
pub trait Seek {
|
||||||
/// Seeks to a new position in a byte stream.
|
/// Seeks to a new position in a byte stream.
|
||||||
///
|
///
|
||||||
|
|
|
@ -33,7 +33,7 @@ cfg_if! {
|
||||||
///
|
///
|
||||||
/// [`std::io::Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
|
/// [`std::io::Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
|
||||||
/// [`futures::io::AsyncWrite`]:
|
/// [`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 {
|
pub trait Write {
|
||||||
/// Writes some bytes into the byte stream.
|
/// Writes some bytes into the byte stream.
|
||||||
///
|
///
|
||||||
|
|
|
@ -25,9 +25,9 @@ use crate::task::{Context, Poll};
|
||||||
/// [`connect`]: struct.TcpStream.html#method.connect
|
/// [`connect`]: struct.TcpStream.html#method.connect
|
||||||
/// [accepting]: struct.TcpListener.html#method.accept
|
/// [accepting]: struct.TcpListener.html#method.accept
|
||||||
/// [listener]: struct.TcpListener.html
|
/// [listener]: struct.TcpListener.html
|
||||||
/// [`AsyncRead`]: https://docs/futures-preview/0.3.0-alpha.13/futures/io/trait.AsyncRead.html
|
/// [`AsyncRead`]: https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/trait.AsyncRead.html
|
||||||
/// [`AsyncWrite`]: https://docs/futures-preview/0.3.0-alpha.13/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/futures-preview/0.3.0-alpha.13/futures/io
|
/// [`futures::io`]: https://docs.rs/futures-preview/0.3.0-alpha.17/futures/io/index.html
|
||||||
/// [`shutdown`]: struct.TcpStream.html#method.shutdown
|
/// [`shutdown`]: struct.TcpStream.html#method.shutdown
|
||||||
/// [`std::net::TcpStream`]: https://doc.rust-lang.org/std/net/struct.TcpStream.html
|
/// [`std::net::TcpStream`]: https://doc.rust-lang.org/std/net/struct.TcpStream.html
|
||||||
///
|
///
|
||||||
|
|
|
@ -53,7 +53,7 @@ cfg_if! {
|
||||||
///
|
///
|
||||||
/// [`std::iter::Iterator`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html
|
/// [`std::iter::Iterator`]: https://doc.rust-lang.org/std/iter/trait.Iterator.html
|
||||||
/// [`futures::stream::Stream`]:
|
/// [`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 {
|
pub trait Stream {
|
||||||
/// The type of items yielded by this stream.
|
/// The type of items yielded by this stream.
|
||||||
type Item;
|
type Item;
|
||||||
|
|
Loading…
Reference in a new issue