diff options
| author | bors <bors@rust-lang.org> | 2015-12-28 09:55:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-28 09:55:45 +0000 |
| commit | 89753077fc25abb9d04d24a2b2b73984854f7c3a (patch) | |
| tree | 02cbfb5f56b8dc173cdcae16a2511e0a8782aec2 /src/libstd | |
| parent | 3989f655e0c79ec61f03b36cb1d83667a5a7b395 (diff) | |
| parent | eaa94c52a12a2692d2a4ac6661a53fe90b3ea022 (diff) | |
| download | rust-89753077fc25abb9d04d24a2b2b73984854f7c3a.tar.gz rust-89753077fc25abb9d04d24a2b2b73984854f7c3a.zip | |
Auto merge of #30570 - fhartwig:dead-doc-links, r=steveklabnik
r? @steveklabnik
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/mod.rs | 8 | ||||
| -rw-r--r-- | src/libstd/lib.rs | 3 |
2 files changed, 5 insertions, 6 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; diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index e66cc49290a..9c20a48d425 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -76,7 +76,7 @@ //! `i32`](primitive.i32.html) that lists all the methods that can be called on //! 32-bit integers (very useful), and there is a [page for the module //! `std::i32`](i32/index.html) that documents the constant values [`MIN`] and -//! [`MAX`] (rarely useful). +//! [`MAX`](i32/constant.MAX.html) (rarely useful). //! //! Note the documentation for the primitives [`str`] and [`[T]`][slice] (also //! called 'slice'). Many method calls on [`String`] and [`Vec<T>`] are actually @@ -153,7 +153,6 @@ //! //! [I/O]: io/index.html //! [`MIN`]: i32/constant.MIN.html -//! [`MAX`]: i32/constant.MAX.html //! [TCP]: net/struct.TcpStream.html //! [The Rust Prelude]: prelude/index.html //! [UDP]: net/struct.UdpSocket.html |
