From 377aaeae2030e3d08a21bb6071c2876a1f0ee776 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 23 Nov 2017 21:48:22 +0100 Subject: [PATCH] Remove invalid doc link --- src/libstd/io/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index ff952122d3de9..92f1d450130dc 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -444,7 +444,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; @@ -468,7 +468,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 {