mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-25 04:27:48 +00:00
Fixed element type of chunks(ofCount:collectedInto:)
This commit is contained in:
1 parent
b8242c4a6b
commit
7b62584d99
1 file changed
+1
-1
@@ -12,7 +12,7 @@
|
||||
extension AsyncSequence {
|
||||
|
||||
@inlinable
|
||||
public func chunks<Collected: RangeReplaceableCollection>(ofCount count: Int, collectedInto: Collected.Type) -> AsyncChunksOfCountSequence<Self, [Element]> where Collected.Element == Element {
|
||||
public func chunks<Collected: RangeReplaceableCollection>(ofCount count: Int, collectedInto: Collected.Type) -> AsyncChunksOfCountSequence<Self, Collected> where Collected.Element == Element {
|
||||
AsyncChunksOfCountSequence(self, count: count)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user