Point to From trait in error handling guide

Not sure if `From<Error>` is the correct way to reference that trait (maybe `From<E: Error>`?)
This commit is contained in:
fenduru 2015-04-13 22:01:20 -04:00
parent f55e66aaed
commit ab93a51068

View File

@ -297,5 +297,5 @@ It's worth noting that you can only use `try!` from a function that returns a
`Result`, which means that you cannot use `try!` inside of `main()`, because
`main()` doesn't return anything.
`try!` makes use of [`FromError`](../std/error/#the-fromerror-trait) to determine
`try!` makes use of [`From<Error>`](../std/convert/trait.From.hml) to determine
what to return in the error case.