Wrapped a line such that it does not exceed 100 characters.
This commit is contained in:
parent
d7fcd219c5
commit
70ce4b168d
1 changed files with 2 additions and 1 deletions
|
|
@ -291,7 +291,8 @@ pub trait Into<T>: Sized {
|
|||
/// When constructing a function that is capable of failing, the return type
|
||||
/// will generally be of the form `Result<T, E>`.
|
||||
/// 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 and [the book][book] 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`].
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue