Skip to content

Commit

Permalink
Rollup merge of rust-lang#46224 - GuillaumeGomez:io-missing-link, r=Q…
Browse files Browse the repository at this point in the history
…uietMisdreavus

Remove invalid doc link

r? @rust-lang/docs
  • Loading branch information
kennytm authored Nov 26, 2017
2 parents 2cac14e + 377aaea commit 4c8cddb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ fn read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> Result<usize>
/// # }
/// ```
///
/// Read from `&str` because [`&[u8]`] implements [`Read`]:
/// Read from `&str` because [`&[u8]`] implements `Read`:
///
/// ```
/// # use std::io;
Expand All @@ -465,7 +465,6 @@ fn read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> Result<usize>
/// [`BufRead`]: trait.BufRead.html
/// [`BufReader`]: struct.BufReader.html
/// [`&[u8]`]: primitive.slice.html
///
#[stable(feature = "rust1", since = "1.0.0")]
#[doc(spotlight)]
pub trait Read {
Expand Down

0 comments on commit 4c8cddb

Please sign in to comment.