1
Fork 0
This commit is contained in:
Alex Povel 2023-07-16 19:55:03 +02:00
parent 11da267fdb
commit d4184dde6a
No known key found for this signature in database

View file

@ -749,7 +749,7 @@ impl<T, E> Result<T, E> {
} }
/// Returns the provided default (if [`Err`]), or /// 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 /// 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`], /// the result of a function call, it is recommended to use [`map_or_else`],