diff options
| author | Bastien Dejean <nihilhill@gmail.com> | 2015-09-21 12:37:58 +0200 |
|---|---|---|
| committer | Bastien Dejean <nihilhill@gmail.com> | 2015-09-21 12:37:58 +0200 |
| commit | 5b41488f3a0c2e839911ffcce592e0ecfe460a70 (patch) | |
| tree | 51dc34dad771a0197d57b4600985263e1433f54d | |
| parent | a33e48771e75c82411da2c668366bec59cee718d (diff) | |
| download | rust-5b41488f3a0c2e839911ffcce592e0ecfe460a70.tar.gz rust-5b41488f3a0c2e839911ffcce592e0ecfe460a70.zip | |
TRPL: Fix typo
| -rw-r--r-- | src/doc/trpl/error-handling.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/error-handling.md b/src/doc/trpl/error-handling.md index 555d97ec3c3..bf7b9222fa7 100644 --- a/src/doc/trpl/error-handling.md +++ b/src/doc/trpl/error-handling.md @@ -1223,7 +1223,7 @@ let err2: Box<Error> = From::from(parse_err); There is a really important pattern to recognize here. Both `err1` and `err2` have the *same type*. This is because they are existentially quantified types, -or trait objects. In particularly, their underlying type is *erased* from the +or trait objects. In particular, their underlying type is *erased* from the compiler's knowledge, so it truly sees `err1` and `err2` as exactly the same. Additionally, we constructed `err1` and `err2` using precisely the same function call: `From::from`. This is because `From::from` is overloaded on both |
