From 838a38365daa047fca7e57f63f9c54614c45595f Mon Sep 17 00:00:00 2001 From: kennytm Date: Tue, 14 Nov 2017 17:22:57 +0800 Subject: Fixed several pulldown warnings when documenting libstd. --- src/libstd/io/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index dec281212a5..57f8c39756e 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -737,7 +737,7 @@ pub trait Read { /// Transforms this `Read` instance to an [`Iterator`] over its bytes. /// /// The returned type implements [`Iterator`] where the `Item` is - /// [`Result`]`<`[`u8`]`, `[`io::Error`]>`. + /// [`Result`]`<`[`u8`]`, `[`io::Error`]`>`. /// The yielded item is [`Ok`] if a byte was successfully read and [`Err`] /// otherwise. EOF is mapped to returning [`None`] from this iterator. /// @@ -748,7 +748,7 @@ pub trait Read { /// [file]: ../fs/struct.File.html /// [`Iterator`]: ../../std/iter/trait.Iterator.html /// [`Result`]: ../../std/result/enum.Result.html - /// [`io::Error``]: ../../std/io/struct.Error.html + /// [`io::Error`]: ../../std/io/struct.Error.html /// [`u8`]: ../../std/primitive.u8.html /// [`Ok`]: ../../std/result/enum.Result.html#variant.Ok /// [`Err`]: ../../std/result/enum.Result.html#variant.Err -- cgit 1.4.1-3-g733a5