Skip to content

Commit 49ff66f

Browse files
committed
mark Option.ofPair as inline
1 parent a6eb4bc commit 49ff66f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FsToolkit.ErrorHandling/Option.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ module Option =
139139
| Some x -> onSome x
140140
| None -> onNone ()
141141

142-
let ofPair (input: bool * 'a) =
142+
let inline ofPair (input: bool * 'a) =
143143
match input with
144144
| true, x -> Some x
145145
| false, _ -> None

0 commit comments

Comments
 (0)