From ec95739404b5bd3fb26b17b4d79d5218729bc53b Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Fri, 26 Jul 2024 06:35:01 -0700 Subject: [PATCH] Mark `Symbol` as `Sendable` --- Sources/IndexStoreDB/Symbol.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/IndexStoreDB/Symbol.swift b/Sources/IndexStoreDB/Symbol.swift index 83d3eb1..38c2173 100644 --- a/Sources/IndexStoreDB/Symbol.swift +++ b/Sources/IndexStoreDB/Symbol.swift @@ -13,7 +13,7 @@ @_implementationOnly import CIndexStoreDB -public enum IndexSymbolKind: Hashable { +public enum IndexSymbolKind: Hashable, Sendable { case unknown case module case namespace @@ -45,14 +45,14 @@ public enum IndexSymbolKind: Hashable { case commentTag } -public enum Language: Hashable { +public enum Language: Hashable, Sendable { case c case cxx case objc case swift } -public struct Symbol: Hashable { +public struct Symbol: Hashable, Sendable { public var usr: String public var name: String