Skip to content

Commit 29b3d5d

Browse files
glennslaspeddro
andcommitted
docs(option/orElse): add deprecation message
Co-authored-by: Pedro Castro <[email protected]>
1 parent a056cd0 commit 29b3d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Core__Option.resi

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Option.orElse(None, Some(1066) == Some(1066)
210210
Option.orElse(None, None) == None
211211
```
212212
*/
213-
@deprecated
213+
@deprecated("Use `or` instead")
214214
let orElse: (option<'a>, option<'a>) => option<'a>
215215

216216
/**

0 commit comments

Comments
 (0)