mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
[SortedSet] SortedSet, .Iterator, .Index, .SubSequence, .SubSequence.Iterator: Explicitly conform to Sendable when Element is Sendable
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user