Skip to content

Commit e036737

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 71cfb1e commit e036737

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Examples/CaseStudies/SwiftUICaseStudies/05-HigherOrderReducers-ResuableOfflineDownloads/DownloadClient.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import Foundation
33

44
@DependencyClient
55
struct DownloadClient {
6-
var download: @Sendable (_ url: URL) -> AsyncThrowingStream<Event, any Error> = { _ in .finished() }
6+
var download: @Sendable (_ url: URL) -> AsyncThrowingStream<Event, any Error> = { _ in .finished()
7+
}
78

89
@CasePathable
910
enum Event: Equatable {

[email protected]

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ let package = Package(
9090
for target in package.targets {
9191
target.swiftSettings = target.swiftSettings ?? []
9292
target.swiftSettings?.append(contentsOf: [
93-
.enableUpcomingFeature("ExistentialAny"),
93+
.enableUpcomingFeature("ExistentialAny")
9494
])
9595
}
9696

Sources/ComposableArchitecture/Internal/KeyPath+Sendable.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
public typealias _PartialKeyPath<Root> = any PartialKeyPath<Root> & Sendable
44
public typealias _KeyPath<Root, Value> = any KeyPath<Root, Value> & Sendable
55
public typealias _WritableKeyPath<Root, Value> = any WritableKeyPath<Root, Value> & Sendable
6-
public typealias _ReferenceWritableKeyPath<Root, Value> = any ReferenceWritableKeyPath<Root, Value>
6+
public typealias _ReferenceWritableKeyPath<Root, Value> = any ReferenceWritableKeyPath<
7+
Root, Value
8+
>
79
& Sendable
810
public typealias _PartialCaseKeyPath<Root> = any PartialCaseKeyPath<Root> & Sendable
911
public typealias _CaseKeyPath<Root, Value> = any CaseKeyPath<Root, Value> & Sendable

0 commit comments

Comments
 (0)