Run swift-format

This commit is contained in:
mbrandonw
2024-09-06 20:47:24 +00:00
committed by github-actions[bot]
parent 7c6fb26700
commit 12280a2253
4 changed files with 6 additions and 4 deletions

View File

@@ -421,7 +421,8 @@ private struct URLLookup: Lookup {
}
}
private struct RawRepresentableLookup<Value: RawRepresentable & Sendable, Base: Lookup>: Lookup, Sendable
private struct RawRepresentableLookup<Value: RawRepresentable & Sendable, Base: Lookup>: Lookup,
Sendable
where Value.RawValue == Base.Value {
let base: Base
func loadValue(

View File

@@ -260,7 +260,8 @@ public struct FileStorage: Hashable, Sendable {
let createDirectory: @Sendable (URL, Bool) throws -> Void
let fileExists: @Sendable (URL) -> Bool
let fileSystemSource:
@Sendable (URL, DispatchSource.FileSystemEvent, @escaping @Sendable () -> Void) -> AnyCancellable
@Sendable (URL, DispatchSource.FileSystemEvent, @escaping @Sendable () -> Void) ->
AnyCancellable
let load: @Sendable (URL) throws -> Data
@_spi(Internals) public let save: @Sendable (Data, URL) throws -> Void

View File

@@ -47,7 +47,7 @@ public struct SharedReader<Value: Sendable> {
else { return nil }
self.init(
reference: base.reference,
keyPath: base.keyPath.appending(path: \Value?.[default: DefaultSubscript(initialValue)])!
keyPath: base.keyPath.appending(path: \Value?.[default:DefaultSubscript(initialValue)])!
)
}