diff options
| author | Alex Povel <git@alexpovel.de> | 2023-07-16 19:55:03 +0200 |
|---|---|---|
| committer | Alex Povel <git@alexpovel.de> | 2023-07-16 19:55:03 +0200 |
| commit | d4184dde6a37ddac992db70a6f5f4e625bfb858c (patch) | |
| tree | 13586840fe487dc1abca738943ac5019c43e824c | |
| parent | 11da267fdb17371d60e6f555d4bcf35bf765d982 (diff) | |
| download | rust-d4184dde6a37ddac992db70a6f5f4e625bfb858c.tar.gz rust-d4184dde6a37ddac992db70a6f5f4e625bfb858c.zip | |
Fix typo
| -rw-r--r-- | library/core/src/result.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs index 1ee270f4c03..51b7616ffec 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -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`], |
