Skip to content

Commit d4184dd

Browse files
committed
Fix typo
1 parent 11da267 commit d4184dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ impl<T, E> Result<T, E> {
749749
}
750750

751751
/// Returns the provided default (if [`Err`]), or
752-
/// applies a function to the contained value (if [`Ok`]),
752+
/// applies a function to the contained value (if [`Ok`]).
753753
///
754754
/// Arguments passed to `map_or` are eagerly evaluated; if you are passing
755755
/// the result of a function call, it is recommended to use [`map_or_else`],

0 commit comments

Comments
 (0)