Skip to content

Commit a85eaf9

Browse files
authored
Remove Hex-related SPI (#42)
1 parent 4600f0e commit a85eaf9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Sources/W3CTraceContext/Hex.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
//
1212
//===----------------------------------------------------------------------===//
1313

14-
@_spi(Hex)
15-
public enum Hex {
14+
enum Hex {
1615
/// A lockup table for fast conversion of bytes to hex-bytes.
17-
public static let lookup = [
16+
static let lookup = [
1817
UInt8(ascii: "0"), UInt8(ascii: "1"), UInt8(ascii: "2"), UInt8(ascii: "3"),
1918
UInt8(ascii: "4"), UInt8(ascii: "5"), UInt8(ascii: "6"), UInt8(ascii: "7"),
2019
UInt8(ascii: "8"), UInt8(ascii: "9"), UInt8(ascii: "a"), UInt8(ascii: "b"),
@@ -28,7 +27,7 @@ public enum Hex {
2827
/// - Parameters:
2928
/// - ascii: The ASCII bytes to convert.
3029
/// - target: The pointer to store the converted bytes into.
31-
public static func convert<T>(
30+
static func convert<T>(
3231
_ ascii: T,
3332
toBytes target: UnsafeMutableRawBufferPointer
3433
) where T: RandomAccessCollection, T.Element == UInt8 {

0 commit comments

Comments
 (0)