From 6e9a5757bc36d1190a5c3b985f5e2539dc048c04 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Tue, 31 May 2022 03:29:53 +0100 Subject: [PATCH] Fix typo in `BufferedBytes.md` (#158) `BufferedAsyncByteIterator` -> `AsyncBufferedByteIterator` --- .../AsyncAlgorithms.docc/Guides/BufferedBytes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/BufferedBytes.md b/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/BufferedBytes.md index ce1d0ef..af57631 100644 --- a/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/BufferedBytes.md +++ b/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/BufferedBytes.md @@ -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) }