Skip to content

Commit 59d6f5c

Browse files
authored
Make Zip2Sequence sendable (#64150)
1 parent 5d93126 commit 59d6f5c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/core/Zip.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,8 @@ extension Zip2Sequence: Sequence {
153153
)
154154
}
155155
}
156+
157+
extension Zip2Sequence: Sendable where Sequence1: Sendable,
158+
Sequence2: Sendable { }
159+
extension Zip2Sequence.Iterator: Sendable where Sequence1.Iterator: Sendable,
160+
Sequence2.Iterator: Sendable { }

0 commit comments

Comments
 (0)