Skip to content

Commit

Permalink
Rollup merge of rust-lang#27167 - steveklabnik:doc_std_io_take, r=ale…
Browse files Browse the repository at this point in the history
…xcrichton

Better and more consistent links to their creators.
  • Loading branch information
steveklabnik committed Jul 22, 2015
2 parents 9634d7e + 9e18326 commit f072d1a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit f072d1a

Please sign in to comment.