diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2016-08-16 10:36:39 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2016-08-18 15:43:35 +1200 |
| commit | e6cc4c5d13f8819c72568f9675e84c1d17368c67 (patch) | |
| tree | 3a73e5e11d29b38750349dd11089fc3895f9ac5f /src/doc | |
| parent | da1f7731f6cebcf8b8a896c65b38e19b102e19c4 (diff) | |
Fix links
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/book/error-handling.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/book/error-handling.md b/src/doc/book/error-handling.md index 6e13b464e4c..a62e1b7dfa9 100644 --- a/src/doc/book/error-handling.md +++ b/src/doc/book/error-handling.md @@ -59,7 +59,7 @@ handling is reducing the amount of explicit case analysis the programmer has to do while keeping code composable. Keeping code composable is important, because without that requirement, we -could [`panic`](../std/macro.panic!.html) whenever we +could [`panic`](../std/macro.panic.html) whenever we come across something unexpected. (`panic` causes the current task to unwind, and in most cases, the entire program aborts.) Here's an example: @@ -944,7 +944,7 @@ macro_rules! try { } ``` -(The [real definition](../std/macro.try!.html) is a bit more +(The [real definition](../std/macro.try.html) is a bit more sophisticated. We will address that later.) Using the `try!` macro makes it very easy to simplify our last example. Since @@ -1271,7 +1271,7 @@ macro_rules! try { ``` This is not its real definition. Its real definition is -[in the standard library](../std/macro.try!.html): +[in the standard library](../std/macro.try.html): <span id="code-try-def"></span> @@ -2178,7 +2178,7 @@ heuristics! [`From`](../std/convert/trait.From.html) and [`Error`](../std/error/trait.Error.html) - impls to make the [`try!`](../std/macro.try!.html) + impls to make the [`try!`](../std/macro.try.html) macro more ergonomic. * If you're writing a library and your code can produce errors, define your own error type and implement the |
