Skip to content

Commit e6cc4c5

Browse files
committed
Fix links
1 parent da1f773 commit e6cc4c5

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

src/doc/book/error-handling.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ handling is reducing the amount of explicit case analysis the programmer has to
5959
do while keeping code composable.
6060

6161
Keeping code composable is important, because without that requirement, we
62-
could [`panic`](../std/macro.panic!.html) whenever we
62+
could [`panic`](../std/macro.panic.html) whenever we
6363
come across something unexpected. (`panic` causes the current task to unwind,
6464
and in most cases, the entire program aborts.) Here's an example:
6565

@@ -944,7 +944,7 @@ macro_rules! try {
944944
}
945945
```
946946

947-
(The [real definition](../std/macro.try!.html) is a bit more
947+
(The [real definition](../std/macro.try.html) is a bit more
948948
sophisticated. We will address that later.)
949949

950950
Using the `try!` macro makes it very easy to simplify our last example. Since
@@ -1271,7 +1271,7 @@ macro_rules! try {
12711271
```
12721272

12731273
This is not its real definition. Its real definition is
1274-
[in the standard library](../std/macro.try!.html):
1274+
[in the standard library](../std/macro.try.html):
12751275

12761276
<span id="code-try-def"></span>
12771277

@@ -2178,7 +2178,7 @@ heuristics!
21782178
[`From`](../std/convert/trait.From.html)
21792179
and
21802180
[`Error`](../std/error/trait.Error.html)
2181-
impls to make the [`try!`](../std/macro.try!.html)
2181+
impls to make the [`try!`](../std/macro.try.html)
21822182
macro more ergonomic.
21832183
* If you're writing a library and your code can produce errors, define your own
21842184
error type and implement the

src/libcollections/fmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ use string;
530530
/// assert_eq!(s, "Hello, world!");
531531
/// ```
532532
///
533-
/// [format!]: ../macro.format!.html
533+
/// [format!]: ../macro.format.html
534534
#[stable(feature = "rust1", since = "1.0.0")]
535535
pub fn format(args: Arguments) -> string::String {
536536
let mut output = string::String::new();

src/libstd/io/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
//! to read the line and print it, so we use `()`.
237237
//!
238238
//! [result]: type.Result.html
239-
//! [try]: ../macro.try!.html
239+
//! [try]: ../macro.try.html
240240
//!
241241
//! ## Platform-specific behavior
242242
//!
@@ -957,8 +957,8 @@ pub trait Write {
957957
/// explicitly be called. The [`write!`][write] macro should be favored to
958958
/// invoke this method instead.
959959
///
960-
/// [formatargs]: ../macro.format_args!.html
961-
/// [write]: ../macro.write!.html
960+
/// [formatargs]: ../macro.format_args.html
961+
/// [write]: ../macro.write.html
962962
///
963963
/// This function internally uses the [`write_all`][writeall] method on
964964
/// this trait and hence will continuously write data so long as no errors

src/libstd/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
//! [`atomic`]: sync/atomic/index.html
176176
//! [`collections`]: collections/index.html
177177
//! [`for`]: ../book/loops.html#for
178-
//! [`format!`]: macro.format!.html
178+
//! [`format!`]: macro.format.html
179179
//! [`fs`]: fs/index.html
180180
//! [`io`]: io/index.html
181181
//! [`iter`]: iter/index.html

src/libstd/primitive_docs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/// assert!(!bool_val);
2828
/// ```
2929
///
30-
/// [`assert!`]: macro.assert!.html
30+
/// [`assert!`]: macro.assert.html
3131
/// [`if`]: ../book/if.html
3232
/// [`BitAnd`]: ops/trait.BitAnd.html
3333
/// [`BitOr`]: ops/trait.BitOr.html

src/tools/linkchecker/Cargo.lock

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)