From d4184dde6a37ddac992db70a6f5f4e625bfb858c Mon Sep 17 00:00:00 2001 From: Alex Povel Date: Sun, 16 Jul 2023 19:55:03 +0200 Subject: [PATCH] Fix typo --- library/core/src/result.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/result.rs b/library/core/src/result.rs index 1ee270f4c0398..51b7616ffecea 100644 --- a/library/core/src/result.rs +++ b/library/core/src/result.rs @@ -749,7 +749,7 @@ impl Result { } /// 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`],