Skip to content

Commit 7d0faac

Browse files
committed
Conform Identifier to Sendable
This isn't explicitly needed for this problem but it seems as though the default for all types that can conform to Sendable should This also sets up this new type for Swift 6.0 (and the current Swift 5.10) to pass this type around safely when needed
1 parent f24cf8c commit 7d0faac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftSyntax/Identifier.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import Foundation
1414

1515
/// An abstraction for sanitized values on a token.
16-
public struct Identifier: Equatable {
16+
public struct Identifier: Equatable, Sendable {
1717
/// The sanitized `text` of a token.
1818
public let name: String
1919

0 commit comments

Comments
 (0)