From df46b4c235819d4d0bd421ec28ab4b6cc2243ef8 Mon Sep 17 00:00:00 2001 From: Freya Alminde <72786+freysie@users.noreply.github.com> Date: Mon, 24 Jul 2023 17:42:27 +0200 Subject: [PATCH] Fix typo in Guides/Chunked.md (#277) --- Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Chunked.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Chunked.md b/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Chunked.md index 2ddacc5..9438922 100644 --- a/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Chunked.md +++ b/Sources/AsyncAlgorithms/AsyncAlgorithms.docc/Guides/Chunked.md @@ -213,7 +213,7 @@ If both count and signal are specified, the chunking asynchronous sequence emits Like the example above, this code emits up to 1024-byte `Data` instances, but a chunk will also be emitted every second. ```swift -let packets = bytes.chunks(ofCount: 1024 or: .repeating(every: .seconds(1)), into: Data.self) +let packets = bytes.chunks(ofCount: 1024, or: .repeating(every: .seconds(1)), into: Data.self) for try await packet in packets { write(packet) }