Rollup merge of #46224 - GuillaumeGomez:io-missing-link, r=QuietMisdreavus

Remove invalid doc link

r? @rust-lang/docs
This commit is contained in:
kennytm 2017-11-26 15:01:35 +08:00 committed by GitHub
commit 4c8cddb11b

View File

@ -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;
@ -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 {