]> git.lizzy.rs Git - rust.git/commitdiff
Fix links in docs for std::io
authorFlorian Hartwig <florian.j.hartwig@gmail.com>
Fri, 25 Dec 2015 23:11:20 +0000 (00:11 +0100)
committerFlorian Hartwig <florian.j.hartwig@gmail.com>
Fri, 25 Dec 2015 23:11:20 +0000 (00:11 +0100)
src/libstd/io/mod.rs

index cc3f8097a88e9df5bd0236ab88c152e50113228f..7be0f467ac9ff8b4b39c6bd90c47608bf7529846 100644 (file)
 //! 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 @@ fn write_all(&mut self, mut buf: &[u8]) -> Result<()> {
     /// 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 @@ fn broadcast<W: Write>(self, other: W) -> Broadcast<Self, W>
 ///
 /// [`File`][file]s implement `Seek`:
 ///
-/// [file]: ../std/fs/struct.File.html
+/// [file]: ../fs/struct.File.html
 ///
 /// ```
 /// use std::io;