From 7b62584d99d5d11b3bc7811792c67eef1abfe550 Mon Sep 17 00:00:00 2001 From: Kevin Perry Date: Tue, 1 Mar 2022 12:03:32 -0800 Subject: [PATCH] Fixed element type of chunks(ofCount:collectedInto:) --- Sources/AsyncAlgorithms/AsyncChunksOfCountSequence.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/AsyncAlgorithms/AsyncChunksOfCountSequence.swift b/Sources/AsyncAlgorithms/AsyncChunksOfCountSequence.swift index abaab98..3c5fb11 100644 --- a/Sources/AsyncAlgorithms/AsyncChunksOfCountSequence.swift +++ b/Sources/AsyncAlgorithms/AsyncChunksOfCountSequence.swift @@ -12,7 +12,7 @@ extension AsyncSequence { @inlinable - public func chunks(ofCount count: Int, collectedInto: Collected.Type) -> AsyncChunksOfCountSequence where Collected.Element == Element { + public func chunks(ofCount count: Int, collectedInto: Collected.Type) -> AsyncChunksOfCountSequence where Collected.Element == Element { AsyncChunksOfCountSequence(self, count: count) }