File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ pub trait Into<T>: Sized {
291
291
/// When constructing a function that is capable of failing, the return type
292
292
/// will generally be of the form `Result<T, E>`.
293
293
/// The `From` trait simplifies error handling by allowing a function to return a single error type
294
- /// that encapsulate multiple error types. See the "Examples" section for more details.
294
+ /// that encapsulate multiple error types. See the "Examples" section and [the book][book] for more details.
295
295
///
296
296
/// **Note: This trait must not fail**. If the conversion can fail, use [`TryFrom`].
297
297
///
@@ -355,7 +355,7 @@ pub trait Into<T>: Sized {
355
355
/// [`String`]: ../../std/string/struct.String.html
356
356
/// [`Into<U>`]: trait.Into.html
357
357
/// [`from`]: trait.From.html#tymethod.from
358
- /// [book]: ../../book/first-edition/ error-handling.html
358
+ /// [book]: ../../book/ch09-00- error-handling.html
359
359
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
360
360
pub trait From < T > : Sized {
361
361
/// Performs the conversion.
You can’t perform that action at this time.
0 commit comments