about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfenduru <fenduru@users.noreply.github.com>2015-04-13 22:01:20 -0400
committerfenduru <fenduru@users.noreply.github.com>2015-04-13 22:01:20 -0400
commitab93a51068c39773dce857d3eae054edb36a6fa2 (patch)
tree2186b0ae81105b37904c7dcd157874d1a965e422
parentf55e66aaed42589dcda0221a4545dbaaec68e577 (diff)
downloadrust-ab93a51068c39773dce857d3eae054edb36a6fa2.tar.gz
rust-ab93a51068c39773dce857d3eae054edb36a6fa2.zip
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>`?)
-rw-r--r--src/doc/trpl/error-handling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/error-handling.md b/src/doc/trpl/error-handling.md
index b9e7bd78c5b..491f7b0c2a0 100644
--- a/src/doc/trpl/error-handling.md
+++ b/src/doc/trpl/error-handling.md
@@ -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.