We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9bbfb81 + 377aaea commit a47a02bCopy full SHA for a47a02b
src/libstd/io/mod.rs
@@ -441,7 +441,7 @@ fn read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> Result<usize>
441
/// # }
442
/// ```
443
///
444
-/// Read from `&str` because [`&[u8]`] implements [`Read`]:
+/// Read from `&str` because [`&[u8]`] implements `Read`:
445
446
447
/// # use std::io;
@@ -465,7 +465,6 @@ fn read_to_end<R: Read + ?Sized>(r: &mut R, buf: &mut Vec<u8>) -> Result<usize>
465
/// [`BufRead`]: trait.BufRead.html
466
/// [`BufReader`]: struct.BufReader.html
467
/// [`&[u8]`]: primitive.slice.html
468
-///
469
#[stable(feature = "rust1", since = "1.0.0")]
470
#[doc(spotlight)]
471
pub trait Read {
0 commit comments