File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Sources/AsyncSequenceReader Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ extension AsyncIteratorProtocol {
1212 /// Asynchronously advances by the specified number of elements, or ends the sequence if there is no next element.
1313 ///
1414 /// If a complete array could not be collected, an error is thrown and the sequence should be considered finished.
15- /// - Parameter count: The number of bytes to collect.
15+ /// - Parameter count: The number of elements to collect.
1616 /// - Returns: A collection with exactly `count` elements, or `nil` if the sequence is finished.
1717 /// - Throws: `AsyncSequenceReaderError.insufficientElements` if a complete byte sequence could not be returned by the time the sequence ended.
1818 public mutating func collect( _ count: Int ) async throws -> [ Element ] ? {
You can’t perform that action at this time.
0 commit comments