Skip to content

Commit e224089

Browse files
authored
fix getExn example
1 parent 5e49799 commit e224089

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)