diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-07-22 12:56:51 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-07-22 12:56:51 -0400 |
| commit | 932f0bb5c3bd24868108ff5cfe5f56144fecc274 (patch) | |
| tree | 0f7807662851a86917c3f8f37fcda0eed331c7ec /src/libstd | |
| parent | 6397ecb3ca41508079a8d5109fe03cc6f35bdee3 (diff) | |
| parent | 9e18326291e440a0d8aecf4d817e7e3129183a01 (diff) | |
| download | rust-932f0bb5c3bd24868108ff5cfe5f56144fecc274.tar.gz rust-932f0bb5c3bd24868108ff5cfe5f56144fecc274.zip | |
Rollup merge of #27167 - steveklabnik:doc_std_io_take, r=alexcrichton
Better and more consistent links to their creators.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/mod.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index e7088f4e2ce..fbdfdeaaef4 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -1396,7 +1396,10 @@ pub trait BufRead: Read { /// A `Write` adaptor which will write data to multiple locations. /// -/// For more information, see `Write::broadcast`. +/// This struct is generally created by calling [`broadcast()`][broadcast] on a +/// writer. Please see the documentation of `broadcast()` for more details. +/// +/// [broadcast]: trait.Write.html#method.broadcast #[unstable(feature = "io", reason = "awaiting stability of Write::broadcast")] pub struct Broadcast<T, U> { first: T, @@ -1445,7 +1448,10 @@ impl<T: Read, U: Read> Read for Chain<T, U> { /// Reader adaptor which limits the bytes read from an underlying reader. /// -/// For more information, see `Read::take`. +/// This struct is generally created by calling [`take()`][take] on a reader. +/// Please see the documentation of `take()` for more details. +/// +/// [take]: trait.Read.html#method.take #[stable(feature = "rust1", since = "1.0.0")] pub struct Take<T> { inner: T, |
