about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-11-14 17:22:57 +0800
committerkennytm <kennytm@gmail.com>2017-11-14 17:22:57 +0800
commit838a38365daa047fca7e57f63f9c54614c45595f (patch)
tree7f683398ffd495958536f790ca676eb466bb0b36 /src/libstd/io
parentb5a3ab2e81c837df95a21758b00aeb4e88477b30 (diff)
downloadrust-838a38365daa047fca7e57f63f9c54614c45595f.tar.gz
rust-838a38365daa047fca7e57f63f9c54614c45595f.zip
Fixed several pulldown warnings when documenting libstd.
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/mod.rs4
1 files changed, 2 insertions, 2 deletions
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