Fix typo
This commit is contained in:
parent
11da267fdb
commit
d4184dde6a
1 changed files with 1 additions and 1 deletions
|
@ -749,7 +749,7 @@ impl<T, E> Result<T, E> {
|
|||
}
|
||||
|
||||
/// Returns the provided default (if [`Err`]), or
|
||||
/// applies a function to the contained value (if [`Ok`]),
|
||||
/// applies a function to the contained value (if [`Ok`]).
|
||||
///
|
||||
/// Arguments passed to `map_or` are eagerly evaluated; if you are passing
|
||||
/// the result of a function call, it is recommended to use [`map_or_else`],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue