Skip to content

Commit b27fc5f

Browse files
authored
docs(option/mapWithDefault): fix docstring (#70)
1 parent 2093988 commit b27fc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core__Option.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Option.getUnsafe(None) // Raises an error
9696
external getUnsafe: option<'a> => 'a = "%identity"
9797

9898
/**
99-
`mapWithDefault(opt, default, f)` returns `Some(f(value))` if `opt` is `Some(value)`, otherwise `default`.
99+
`mapWithDefault(opt, default, f)` returns `f(value)` if `opt` is `Some(value)`, otherwise `default`.
100100

101101
## Examples
102102

0 commit comments

Comments
 (0)