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 {
291291/// When constructing a function that is capable of failing, the return type
292292/// will generally be of the form `Result<T, E>`.
293293/// 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.
295295///
296296/// **Note: This trait must not fail**. If the conversion can fail, use [`TryFrom`].
297297///
@@ -355,7 +355,7 @@ pub trait Into<T>: Sized {
355355/// [`String`]: ../../std/string/struct.String.html
356356/// [`Into<U>`]: trait.Into.html
357357/// [`from`]: trait.From.html#tymethod.from
358- /// [book]: ../../book/first-edition/ error-handling.html
358+ /// [book]: ../../book/ch09-00- error-handling.html
359359#[ stable( feature = "rust1" , since = "1.0.0" ) ]
360360pub trait From < T > : Sized {
361361 /// Performs the conversion.
You can’t perform that action at this time.
0 commit comments