Rollup merge of #46224 - GuillaumeGomez:io-missing-link, r=QuietMisdreavus
Remove invalid doc link r? @rust-lang/docs
This commit is contained in:
commit
4c8cddb11b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user