]> git.lizzy.rs Git - rust.git/commitdiff
Remove invalid doc link
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 23 Nov 2017 20:48:22 +0000 (21:48 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 23 Nov 2017 20:48:22 +0000 (21:48 +0100)
src/libstd/io/mod.rs

index ff952122d3de95e8c528de2bb449a85a6bfa5e5f..92f1d450130dc2d25ac6718c2bc52d53e6dee9ac 100644 (file)
@@ -444,7 +444,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;
@@ -468,7 +468,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 {