Skip to content

Commit b084e73

Browse files
committed
Merge pull request #289 from simontcousins/master
#287 CircularBuffer.GetEnumerator() termination
2 parents 5b9bc86 + 318837b commit b084e73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FSharpx.Core/Collections/CircularBuffer.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type CircularBuffer<'T> (bufferSize: int) =
7474
let rec loop() = seq {
7575
if length > 0 then
7676
yield this.Dequeue(1).[0]
77-
yield! loop() }
77+
yield! loop() }
7878
loop().GetEnumerator()
7979

8080
interface IEnumerable<'T> with

0 commit comments

Comments
 (0)