mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Fix typo
This commit is contained in:
parent
11da267fdb
commit
d4184dde6a
@ -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…
Reference in New Issue
Block a user