Skip to content

Commit 0fcf471

Browse files
committed
Fix links in docs for std::io
1 parent 0cf5083 commit 0fcf471

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/io/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
//! to read the line and print it, so we use `()`.
238238
//!
239239
//! [result]: type.Result.html
240-
//! [try]: macro.try!.html
240+
//! [try]: ../macro.try!.html
241241
242242
#![stable(feature = "rust1", since = "1.0.0")]
243243

@@ -992,8 +992,8 @@ pub trait Write {
992992
/// explicitly be called. The [`write!`][write] macro should be favored to
993993
/// invoke this method instead.
994994
///
995-
/// [formatargs]: ../std/macro.format_args!.html
996-
/// [write]: ../std/macro.write!.html
995+
/// [formatargs]: ../macro.format_args!.html
996+
/// [write]: ../macro.write!.html
997997
///
998998
/// This function internally uses the [`write_all`][writeall] method on
999999
/// this trait and hence will continuously write data so long as no errors
@@ -1126,7 +1126,7 @@ pub trait Write {
11261126
///
11271127
/// [`File`][file]s implement `Seek`:
11281128
///
1129-
/// [file]: ../std/fs/struct.File.html
1129+
/// [file]: ../fs/struct.File.html
11301130
///
11311131
/// ```
11321132
/// use std::io;

0 commit comments

Comments
 (0)