Fix typo in BufferedBytes.md (#158)

`BufferedAsyncByteIterator` -> `AsyncBufferedByteIterator`
This commit is contained in:
Max Desiatov authored and GitHub committed 2022-05-30 19:29:53 -07:00
1 parent a973b06d06
commit 6e9a5757bc
1 file changed
+1 -1
@@ -17,7 +17,7 @@ struct AsyncBytes: AsyncSequence {
}
public func makeAsyncIterator() -> AsyncBufferedByteIterator {
return BufferedAsyncByteIterator(capacity: 16384) { buffer in
return AsyncBufferedByteIterator(capacity: 16384) { buffer in
// This runs once every 16384 invocations of next()
return try await handle.read(into: buffer)
}