Fixed minor typo in docs for Result
's err
method
This commit is contained in:
parent
c43efee6de
commit
2fefb22dca
@ -332,7 +332,7 @@ impl<T, E> Result<T, E> {
|
||||
|
||||
/// Convert from `Result<T, E>` to `Option<E>`
|
||||
///
|
||||
/// Converts `self` into an `Option<T>`, consuming `self`,
|
||||
/// Converts `self` into an `Option<E>`, consuming `self`,
|
||||
/// and discarding the value, if any.
|
||||
///
|
||||
/// # Example
|
||||
|
Loading…
Reference in New Issue
Block a user