Fixed minor typo in docs for Result's err method
This commit is contained in:
parent
c43efee6de
commit
2fefb22dca
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue