Skip to content

Commit 4c8cddb

Browse files
authored
Rollup merge of #46224 - GuillaumeGomez:io-missing-link, r=QuietMisdreavus
Remove invalid doc link r? @rust-lang/docs
2 parents 2cac14e + 377aaea commit 4c8cddb

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
@@ -441,7 +441,7 @@ fn read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> Result<usize>
441441
/// # }
442442
/// ```
443443
///
444-
/// Read from `&str` because [`&[u8]`] implements [`Read`]:
444+
/// Read from `&str` because [`&[u8]`] implements `Read`:
445445
///
446446
/// ```
447447
/// # use std::io;
@@ -465,7 +465,6 @@ fn read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> Result<usize>
465465
/// [`BufRead`]: trait.BufRead.html
466466
/// [`BufReader`]: struct.BufReader.html
467467
/// [`&[u8]`]: primitive.slice.html
468-
///
469468
#[stable(feature = "rust1", since = "1.0.0")]
470469
#[doc(spotlight)]
471470
pub trait Read {

0 commit comments

Comments
 (0)