Skip to content

Commit 44a69df

Browse files
authored
Merge pull request #218 from ahoppen/symbol-sendable
Mark `Symbol` as `Sendable`
2 parents 5e39681 + ec95739 commit 44a69df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/IndexStoreDB/Symbol.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@_implementationOnly
1414
import CIndexStoreDB
1515

16-
public enum IndexSymbolKind: Hashable {
16+
public enum IndexSymbolKind: Hashable, Sendable {
1717
case unknown
1818
case module
1919
case namespace
@@ -45,14 +45,14 @@ public enum IndexSymbolKind: Hashable {
4545
case commentTag
4646
}
4747

48-
public enum Language: Hashable {
48+
public enum Language: Hashable, Sendable {
4949
case c
5050
case cxx
5151
case objc
5252
case swift
5353
}
5454

55-
public struct Symbol: Hashable {
55+
public struct Symbol: Hashable, Sendable {
5656

5757
public var usr: String
5858
public var name: String

0 commit comments

Comments
 (0)