diff options
| author | bors <bors@rust-lang.org> | 2015-09-21 12:24:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-09-21 12:24:52 +0000 |
| commit | c06f464d0197f7f22cfbf750bac683eaf05c2474 (patch) | |
| tree | 2b5108d9354eca9ef735ca0cec3ac577ed931fcd | |
| parent | 6217b002ba779aae93f340838d9166253c5407bf (diff) | |
| parent | 5b41488f3a0c2e839911ffcce592e0ecfe460a70 (diff) | |
| download | rust-c06f464d0197f7f22cfbf750bac683eaf05c2474.tar.gz rust-c06f464d0197f7f22cfbf750bac683eaf05c2474.zip | |
Auto merge of #28563 - baskerville:trpl-typo, r=bluss
| -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 |
