From 2bc915c022ff56d14b0b02c8e3af5fc7321e0d28 Mon Sep 17 00:00:00 2001 From: glennsl Date: Fri, 24 Feb 2023 09:30:33 +0100 Subject: [PATCH] docs(option/mapWithDefault): fix docstring --- src/Core__Option.resi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core__Option.resi b/src/Core__Option.resi index 4dc72c65..fb3c8a46 100644 --- a/src/Core__Option.resi +++ b/src/Core__Option.resi @@ -96,7 +96,7 @@ Option.getUnsafe(None) // Raises an error external getUnsafe: option<'a> => 'a = "%identity" /** -`mapWithDefault(opt, default, f)` returns `Some(f(value))` if `opt` is `Some(value)`, otherwise `default`. +`mapWithDefault(opt, default, f)` returns `f(value)` if `opt` is `Some(value)`, otherwise `default`. ## Examples