OrderedDictionary is conditionally Sendable

This commit is contained in:
Gwendal Roué committed 2024-08-25 18:06:29 +02:00
1 parent 56e2ab85b7
commit 30569aba27
1 file changed
+2
+2
View File
@@ -207,6 +207,8 @@ extension OrderedDictionary: CustomStringConvertible {
}
}
extension OrderedDictionary: Sendable where Key: Sendable, Value: Sendable { }
extension Dictionary {
init(_ orderedDictionary: OrderedDictionary<Key, Value>) {
self = orderedDictionary.dictionary