Skip to content

Commit 896e876

Browse files
committed
Fixed properties needing to be Public
1 parent 056badd commit 896e876

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

Sources/SwiftASCII/ASCIICharacter.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ import Foundation
1212
public struct ASCIICharacter: Hashable {
1313

1414
/// The ASCII character returned as a `Character`
15-
@usableFromInline let characterValue: Character
15+
public let characterValue: Character
1616

1717
/// The ASCII encoding value of this character
18-
@usableFromInline let asciiValue: UInt8
18+
public let asciiValue: UInt8
1919

2020
/// The ASCII character encoded as raw Data
21-
@usableFromInline var rawData: Data {
21+
public var rawData: Data {
2222
Data([asciiValue])
2323
}
2424

Sources/SwiftASCII/ASCIIString.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import Foundation
1212
public struct ASCIIString: Equatable, Hashable {
1313

1414
/// The ASCII string returned as a `String`
15-
@usableFromInline let stringValue: String
15+
public let stringValue: String
1616

1717
/// The ASCII string encoded as raw Data
18-
@usableFromInline let rawData: Data
18+
public let rawData: Data
1919

2020
@inlinable public init?(exactly source: String) {
2121

Tests/SwiftASCIITests/ASCIICharacter Tests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if !os(watchOS)
1010

1111
import XCTest
12-
@testable import SwiftASCII
12+
import SwiftASCII
1313

1414
class ASCIICharacterTests: XCTestCase {
1515

Tests/SwiftASCIITests/ASCIIString Tests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if !os(watchOS)
1010

1111
import XCTest
12-
@testable import SwiftASCII
12+
import SwiftASCII
1313

1414
class ASCIIStringTests: XCTestCase {
1515

Tests/SwiftASCIITests/String Tests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if !os(watchOS)
1010

1111
import XCTest
12-
@testable import SwiftASCII
12+
import SwiftASCII
1313

1414
class StringTests: XCTestCase {
1515

0 commit comments

Comments
 (0)