Skip to content

Commit bce3e96

Browse files
committed
Add more Sendable conformance
1 parent 13f533d commit bce3e96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/SwiftyJSON/SwiftyJSON.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,12 +422,12 @@ extension JSON: Swift.Collection {
422422
/**
423423
* To mark both String and Int can be used in subscript.
424424
*/
425-
public enum JSONKey {
425+
public enum JSONKey: Sendable {
426426
case index(Int)
427427
case key(String)
428428
}
429429

430-
public protocol JSONSubscriptType {
430+
public protocol JSONSubscriptType: Sendable {
431431
var jsonKey: JSONKey { get }
432432
}
433433

0 commit comments

Comments
 (0)