Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Sep 10, 2024
1 parent 71cfb1e commit e036737
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import Foundation

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

@CasePathable
enum Event: Equatable {
Expand Down
2 changes: 1 addition & 1 deletion Package@swift-6.0.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ let package = Package(
for target in package.targets {
target.swiftSettings = target.swiftSettings ?? []
target.swiftSettings?.append(contentsOf: [
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("ExistentialAny")
])
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
public typealias _PartialKeyPath<Root> = any PartialKeyPath<Root> & Sendable
public typealias _KeyPath<Root, Value> = any KeyPath<Root, Value> & Sendable
public typealias _WritableKeyPath<Root, Value> = any WritableKeyPath<Root, Value> & Sendable
public typealias _ReferenceWritableKeyPath<Root, Value> = any ReferenceWritableKeyPath<Root, Value>
public typealias _ReferenceWritableKeyPath<Root, Value> = any ReferenceWritableKeyPath<
Root, Value
>
& Sendable
public typealias _PartialCaseKeyPath<Root> = any PartialCaseKeyPath<Root> & Sendable
public typealias _CaseKeyPath<Root, Value> = any CaseKeyPath<Root, Value> & Sendable
Expand Down

0 comments on commit e036737

Please sign in to comment.