Skip to content

Commit 377aaea

Browse files
Remove invalid doc link
1 parent f28df20 commit 377aaea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libstd/io/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ fn read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> Result<usize>
444444
/// # }
445445
/// ```
446446
///
447-
/// Read from `&str` because [`&[u8]`] implements [`Read`]:
447+
/// Read from `&str` because [`&[u8]`] implements `Read`:
448448
///
449449
/// ```
450450
/// # use std::io;
@@ -468,7 +468,6 @@ fn read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> Result<usize>
468468
/// [`BufRead`]: trait.BufRead.html
469469
/// [`BufReader`]: struct.BufReader.html
470470
/// [`&[u8]`]: primitive.slice.html
471-
///
472471
#[stable(feature = "rust1", since = "1.0.0")]
473472
#[doc(spotlight)]
474473
pub trait Read {

0 commit comments

Comments
 (0)