summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorFlorian Hartwig <florian.j.hartwig@gmail.com>2015-12-26 00:11:20 +0100
committerFlorian Hartwig <florian.j.hartwig@gmail.com>2015-12-26 00:11:20 +0100
commit0fcf4710e9e4f84905b7dd6e9d4595454fd65bf7 (patch)
tree7b52e60034beb7463d3bbafaa4b343adbf724046 /src/libstd/io
parent0cf5083b24a9e71524ab90695c616d85cf3d4884 (diff)
downloadrust-0fcf4710e9e4f84905b7dd6e9d4595454fd65bf7.tar.gz
rust-0fcf4710e9e4f84905b7dd6e9d4595454fd65bf7.zip
Fix links in docs for std::io
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index cc3f8097a88..7be0f467ac9 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -237,7 +237,7 @@
 //! to read the line and print it, so we use `()`.
 //!
 //! [result]: type.Result.html
-//! [try]: macro.try!.html
+//! [try]: ../macro.try!.html
 
 #![stable(feature = "rust1", since = "1.0.0")]
 
@@ -992,8 +992,8 @@ pub trait Write {
     /// explicitly be called. The [`write!`][write] macro should be favored to
     /// invoke this method instead.
     ///
-    /// [formatargs]: ../std/macro.format_args!.html
-    /// [write]: ../std/macro.write!.html
+    /// [formatargs]: ../macro.format_args!.html
+    /// [write]: ../macro.write!.html
     ///
     /// This function internally uses the [`write_all`][writeall] method on
     /// this trait and hence will continuously write data so long as no errors
@@ -1126,7 +1126,7 @@ pub trait Write {
 ///
 /// [`File`][file]s implement `Seek`:
 ///
-/// [file]: ../std/fs/struct.File.html
+/// [file]: ../fs/struct.File.html
 ///
 /// ```
 /// use std::io;