We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38602cf commit f83b5d7Copy full SHA for f83b5d7
Sources/DequeModule/Deque+Collection.swift
@@ -164,7 +164,7 @@ extension Deque: Sequence {
164
}
165
166
167
-extension Deque.Iterator: Sendable where Element: Sendable {}
+extension Deque.Iterator: @unchecked Sendable where Element: Sendable {}
168
169
extension Deque: RandomAccessCollection {
170
public typealias Index = Int
Sources/DequeModule/Deque+Sendable.swift
Sources/DequeModule/Deque.swift
@@ -103,3 +103,5 @@ public struct Deque<Element> {
103
self._storage = _Storage(minimumCapacity: minimumCapacity)
104
105
106
+
107
+extension Deque: @unchecked Sendable where Element: Sendable {}
0 commit comments