From ab93a51068c39773dce857d3eae054edb36a6fa2 Mon Sep 17 00:00:00 2001 From: fenduru Date: Mon, 13 Apr 2015 22:01:20 -0400 Subject: [PATCH] Point to From trait in error handling guide Not sure if `From` is the correct way to reference that trait (maybe `From`?) --- src/doc/trpl/error-handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`](../std/convert/trait.From.hml) to determine what to return in the error case.