Skip to content

Commit 6e9a575

Browse files
authored
Fix typo in BufferedBytes.md (#158)
`BufferedAsyncByteIterator` -> `AsyncBufferedByteIterator`
1 parent a973b06 commit 6e9a575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/BufferedBytes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ struct AsyncBytes: AsyncSequence {
1717
}
1818

1919
public func makeAsyncIterator() -> AsyncBufferedByteIterator {
20-
return BufferedAsyncByteIterator(capacity: 16384) { buffer in
20+
return AsyncBufferedByteIterator(capacity: 16384) { buffer in
2121
// This runs once every 16384 invocations of next()
2222
return try await handle.read(into: buffer)
2323
}

0 commit comments

Comments
 (0)