Skip to content

Commit f0d6690

Browse files
authored
Merge pull request #3828 from nikgraf/patch-4
fix getExn example
2 parents 5af91a6 + e224089 commit f0d6690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jscomp/others/belt_Result.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ val getExn : ('a, 'b) t -> 'a
5454
when [res] is [Error m], {b raise} an exception
5555
5656
@example {[
57-
getExn good = 42
58-
getExn bad (* raises exception *)
57+
getExn good = 42;;
58+
getExn bad;; (* raises exception *)
5959
]}
6060
*)
6161

0 commit comments

Comments
 (0)