Skip to content

Commit aa666c5

Browse files
committed
Rename source file and formatting
1 parent ac58c65 commit aa666c5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/FSharp.Control.TaskSeq.Test/FSharp.Control.TaskSeq.Test.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<Compile Include="TaskSeq.Pick.Tests.fs" />
3737
<Compile Include="TaskSeq.Singleton.Tests.fs" />
3838
<Compile Include="TaskSeq.Tail.Tests.fs" />
39-
<Compile Include="TaskSeq.Take.fs" />
39+
<Compile Include="TaskSeq.Take.Tests.fs" />
4040
<Compile Include="TaskSeq.TakeWhile.Tests.fs" />
4141
<Compile Include="TaskSeq.ToXXX.Tests.fs" />
4242
<Compile Include="TaskSeq.Zip.Tests.fs" />

src/FSharp.Control.TaskSeq/TaskSeqInternal.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ module internal TaskSeqInternal =
138138
i <- i + 1 // update before moving: we are counting, not indexing
139139
go <- step
140140

141-
| Some (Predicate predicate) ->
141+
| Some(Predicate predicate) ->
142142
while go do
143143
if predicate e.Current then
144144
i <- i + 1
145145

146146
let! step = e.MoveNextAsync()
147147
go <- step
148148

149-
| Some (PredicateAsync predicate) ->
149+
| Some(PredicateAsync predicate) ->
150150
while go do
151151
match! predicate e.Current with
152152
| true -> i <- i + 1
@@ -215,7 +215,7 @@ module internal TaskSeqInternal =
215215
// multiple threads access the same item through the same enumerator (which is
216216
// bad practice, but hey, who're we to judge).
217217
if isNull value then
218-
value <- Lazy<_>.Create (fun () -> init i)
218+
value <- Lazy<_>.Create(fun () -> init i)
219219

220220
yield value.Force()
221221
value <- Unchecked.defaultof<_>

0 commit comments

Comments
 (0)