We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c85555f commit 0e31d5cCopy full SHA for 0e31d5c
src/FsToolkit.ErrorHandling.TaskResult/TaskResult.fs
@@ -241,9 +241,15 @@ module TaskResult =
241
/// Bind the TaskResult and requireSome on the inner option value.
242
let inline bindRequireSome error x =
243
x
244
- |> bind (Result.requireSome error >> Task.singleton)
+ |> bind (
245
+ Result.requireSome error
246
+ >> Task.singleton
247
+ )
248
249
/// Bind the TaskResult and requireNone on the inner option value.
250
let inline bindRequireNone error x =
251
- |> bind (Result.requireNone error >> Task.singleton)
252
253
+ Result.requireNone error
254
255
0 commit comments