diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index ec15a7f68fb0..ce7472f33292 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -291,7 +291,7 @@ pub trait Into: Sized { /// When constructing a function that is capable of failing, the return type /// will generally be of the form `Result`. /// The `From` trait simplifies error handling by allowing a function to return a single error type -/// that encapsulate multiple error types. See the "Examples" section for more details. +/// that encapsulate multiple error types. See the "Examples" section and [the book][book] for more details. /// /// **Note: This trait must not fail**. If the conversion can fail, use [`TryFrom`]. /// @@ -355,7 +355,7 @@ pub trait Into: Sized { /// [`String`]: ../../std/string/struct.String.html /// [`Into`]: trait.Into.html /// [`from`]: trait.From.html#tymethod.from -/// [book]: ../../book/first-edition/error-handling.html +/// [book]: ../../book/ch09-00-error-handling.html #[stable(feature = "rust1", since = "1.0.0")] pub trait From: Sized { /// Performs the conversion.