Skip to content

Commit c767c77

Browse files
refactor: Formatting
1 parent a7be9bf commit c767c77

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/Haystack/IO/ZincTokenizer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ZincTokenizer {
1818
try consume()
1919
}
2020

21-
public convenience init(_ string: String) throws {
21+
convenience init(_ string: String) throws {
2222
guard let data = string.data(using: .utf8) else {
2323
throw ZincTokenizerError.inputIsNotUtf8
2424
}

Sources/HaystackClient/Client.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class Client: API {
2222
let fetcher: Fetcher
2323

2424
/// Set when `open` is called.
25-
private var authToken: String? = nil
25+
private var authToken: String?
2626

2727
private let jsonEncoder = JSONEncoder()
2828
private let jsonDecoder = JSONDecoder()

Tests/HaystackServerTests/HaystackServerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ actor InMemoryWatchStore: WatchStore {
579579
watches[watchId] = nil
580580
}
581581

582-
public struct Watch: Hashable {
582+
struct Watch: Hashable {
583583
let id: String
584584
var ids: [Haystack.Ref]
585585
let lease: Haystack.Number

0 commit comments

Comments
 (0)