Skip to content

Commit 7c9b708

Browse files
committed
Added Sendable conformance to types
1 parent 91f4cc6 commit 7c9b708

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Sources/SwiftASCII/ASCIICharacter.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ extension ASCIICharacter: Codable {
188188
}
189189
}
190190

191+
extension ASCIICharacter: Sendable { }
192+
191193
extension ASCIICharacter {
192194
public static func + (lhs: ASCIICharacter, rhs: ASCIICharacter) -> ASCIIString {
193195
ASCIIString([lhs, rhs])

Sources/SwiftASCII/ASCIIString.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ extension ASCIIString: Codable {
150150
}
151151
}
152152

153+
extension ASCIIString: Sendable { }
154+
153155
extension ASCIIString {
154156
public static func + (lhs: ASCIIString, rhs: ASCIIString) -> ASCIIString {
155157
ASCIIString([lhs, rhs])

0 commit comments

Comments
 (0)