Skip to content

Commit 31a5af8

Browse files
committed
Run swift-format
1 parent 6922a82 commit 31a5af8

File tree

13 files changed

+1768
-1757
lines changed

13 files changed

+1768
-1757
lines changed

Examples/CaseStudies/SwiftUICaseStudies/FactClient.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import ComposableArchitecture
12
import Foundation
23
import ReactiveSwift
3-
import ComposableArchitecture
44
import XCTestDynamicOverlay
55

66
struct FactClient {
@@ -32,7 +32,7 @@ extension FactClient {
3232
// to prove do not need the dependency.
3333
static let unimplemented = Self(
3434
fetch: { _ in
35-
XCTFail("\(Self.self).fact is unimplemented.")
36-
return .none
37-
})
35+
XCTFail("\(Self.self).fact is unimplemented.")
36+
return .none
37+
})
3838
}

Sources/ComposableArchitecture/Effect.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension Effect {
2929
.deferred { () -> SignalProducer<Value, Error> in
3030
work()
3131
return .empty
32-
}
32+
}
3333
}
3434

3535
/// Concatenates a variadic list of effects together into a single effect, which runs the effects
@@ -110,8 +110,8 @@ extension Effect {
110110
case let .failure(error):
111111
observer.send(error: error)
112112
}
113-
}
114-
}
113+
}
114+
}
115115
}
116116

117117
/// Turns any publisher into an ``Effect`` that cannot fail by wrapping its output and failure in

Sources/ComposableArchitecture/Effects/Timer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ extension Effect where Value == Date, Error == Never {
8787
return SignalProducer.timer(
8888
interval: interval, on: scheduler, leeway: tolerance ?? .seconds(.max)
8989
)
90-
.cancellable(id: id, cancelInFlight: true)
90+
.cancellable(id: id, cancelInFlight: true)
9191
}
9292
}

0 commit comments

Comments
 (0)