From e89eee11744dee6dd13ff146817cdd4075952a0a Mon Sep 17 00:00:00 2001 From: steveklabnik Date: Wed, 15 Mar 2017 14:06:57 -0400 Subject: [PATCH] one more --- first-edition/src/error-handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-edition/src/error-handling.md b/first-edition/src/error-handling.md index fa0b6f655..02bd67587 100644 --- a/first-edition/src/error-handling.md +++ b/first-edition/src/error-handling.md @@ -1113,7 +1113,7 @@ The first two are a result of `Error` requiring impls for both `Debug` and `Display`. The latter two are from the two methods defined on `Error`. The power of `Error` comes from the fact that all error types impl `Error`, which means errors can be existentially quantified as a -[trait object](/trait-objects.html). +[trait object](trait-objects.html). This manifests as either `Box` or `&Error`. Indeed, the `cause` method returns an `&Error`, which is itself a trait object. We'll revisit the `Error` trait's utility as a trait object later.