about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-11-23 21:48:22 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-11-23 21:48:22 +0100
commit377aaeae2030e3d08a21bb6071c2876a1f0ee776 (patch)
tree28a87eeb891f16b47e55c6c9d5b476c0ac35a40f
parentf28df200260c89b2a0bdf942510e0f888c29a70d (diff)
downloadrust-377aaeae2030e3d08a21bb6071c2876a1f0ee776.tar.gz
rust-377aaeae2030e3d08a21bb6071c2876a1f0ee776.zip
Remove invalid doc link
-rw-r--r--src/libstd/io/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index ff952122d3d..92f1d450130 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -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 {