File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Sources/RawStructuredFieldValues Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 23
23
/// Note that this preserves _original_ insertion order: if you overwrite a key's value, the
24
24
/// key does not move to "last". This is a specific requirement for Structured Headers and may
25
25
/// harm the generality of this implementation.
26
- public struct OrderedMap < Key, Value> : SHSendable where Key: Hashable {
26
+ public struct OrderedMap < Key, Value> where Key: Hashable {
27
27
private var backing : [ Entry ]
28
28
29
29
public init ( ) {
@@ -67,6 +67,10 @@ extension OrderedMap {
67
67
}
68
68
}
69
69
70
+ extension OrderedMap : SHSendable where Key: SHSendable , Value: SHSendable { }
71
+
72
+ extension OrderedMap . Entry : SHSendable where Key: SHSendable , Value: SHSendable { }
73
+
70
74
// MARK: - Collection conformances
71
75
72
76
extension OrderedMap : RandomAccessCollection , MutableCollection {
You can’t perform that action at this time.
0 commit comments