diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 54ee8880ec3..b7a3695b470 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -441,7 +441,7 @@ fn read_to_end(r: &mut R, buf: &mut Vec) -> Result /// # } /// ``` /// -/// 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: &mut R, buf: &mut Vec) -> Result /// [`BufRead`]: trait.BufRead.html /// [`BufReader`]: struct.BufReader.html /// [`&[u8]`]: primitive.slice.html -/// #[stable(feature = "rust1", since = "1.0.0")] #[doc(spotlight)] pub trait Read {