Skip to content

Commit 0e31d5c

Browse files
sheridanchrisTheAngryByrd
authored andcommitted
Format bindRequire functions
1 parent c85555f commit 0e31d5c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/FsToolkit.ErrorHandling.TaskResult/TaskResult.fs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,15 @@ module TaskResult =
241241
/// Bind the TaskResult and requireSome on the inner option value.
242242
let inline bindRequireSome error x =
243243
x
244-
|> bind (Result.requireSome error >> Task.singleton)
244+
|> bind (
245+
Result.requireSome error
246+
>> Task.singleton
247+
)
245248

246249
/// Bind the TaskResult and requireNone on the inner option value.
247250
let inline bindRequireNone error x =
248251
x
249-
|> bind (Result.requireNone error >> Task.singleton)
252+
|> bind (
253+
Result.requireNone error
254+
>> Task.singleton
255+
)

0 commit comments

Comments
 (0)