From 4ab67dca50494b04783db20a475115cc20d6c99a Mon Sep 17 00:00:00 2001 From: Freya Alminde <72786+freysie@users.noreply.github.com> Date: Sun, 23 Jul 2023 16:50:34 +0200 Subject: [PATCH] Fix typo in Guides/Chunked.md --- 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 2ddacc5f..94389220 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) }