Skip to content

Commit 9861953

Browse files
chore: formatting
1 parent d96f50b commit 9861953

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
@@ -659,7 +659,7 @@ actor InMemoryWatchStore: WatchStore {
659659
watches[watchId] = nil
660660
}
661661

662-
public struct Watch: Hashable {
662+
struct Watch: Hashable {
663663
let id: String
664664
var ids: [Haystack.Ref]
665665
let lease: Haystack.Number

0 commit comments

Comments
 (0)