[SortedSet] SortedSet, .Iterator, .Index, .SubSequence, .SubSequence.Iterator: Explicitly conform to Sendable when Element is Sendable

This commit is contained in:
Karoy Lorentey committed 2022-10-05 11:48:54 -07:00
1 parent 3238b9b575
commit 58f7cf5a92
4 files changed
+34

No files matched your search

@@ -34,6 +34,11 @@ extension SortedSet {
}
}
#if swift(>=5.5)
extension SortedSet.Index: @unchecked Sendable
where Element: Sendable {}
#endif
// MARK: Equatable
extension SortedSet.Index: Equatable {
@inlinable