Skip to content

Commit dfa29e0

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 08faf84 commit dfa29e0

File tree

9 files changed

+12
-11
lines changed

9 files changed

+12
-11
lines changed

Examples/SyncUps/SyncUps/Dependencies/SpeechRecognizer.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ struct SpeechClient {
88
.denied
99
}
1010
var startTask:
11-
@Sendable (_ request: UncheckedSendable<SFSpeechAudioBufferRecognitionRequest>) async -> AsyncThrowingStream<
12-
SpeechRecognitionResult, Error
13-
> = { _ in .finished() }
11+
@Sendable (_ request: UncheckedSendable<SFSpeechAudioBufferRecognitionRequest>) async ->
12+
AsyncThrowingStream<
13+
SpeechRecognitionResult, Error
14+
> = { _ in .finished() }
1415
}
1516

1617
extension SpeechClient: DependencyKey {

Sources/ComposableArchitecture/CaseReducer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ where State: CaseReducerState, Body: Reducer, Body.State == State, Body.Action =
1515
#if swift(<5.10)
1616
@MainActor(unsafe)
1717
#else
18-
@preconcurrency @MainActor
18+
@preconcurrency@MainActor
1919
#endif
2020
static func scope(_ store: Store<State, Action>) -> CaseScope
2121
}

Sources/ComposableArchitecture/Observation/ViewAction.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public protocol ViewAction<ViewAction> {
1212
#if swift(<5.10)
1313
@MainActor(unsafe)
1414
#else
15-
@preconcurrency @MainActor
15+
@preconcurrency@MainActor
1616
#endif
1717
public protocol ViewActionSending<StoreState, StoreAction> {
1818
associatedtype StoreState

Sources/ComposableArchitecture/Store.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ import SwiftUI
135135
#if swift(<5.10)
136136
@MainActor(unsafe)
137137
#else
138-
@preconcurrency @MainActor
138+
@preconcurrency@MainActor
139139
#endif
140140
public final class Store<State, Action> {
141141
var canCacheChildren = true

Sources/ComposableArchitecture/SwiftUI/Binding.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ where Value: CustomDebugStringConvertible {
404404
#if swift(<5.10)
405405
@MainActor(unsafe)
406406
#else
407-
@preconcurrency @MainActor
407+
@preconcurrency@MainActor
408408
#endif
409409
public struct BindingViewStore<State> {
410410
let store: Store<State, BindingAction<State>>

Sources/ComposableArchitecture/SwiftUI/PresentationModifier.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public struct AnyIdentifiable: Identifiable {
308308
#if swift(<5.10)
309309
@MainActor(unsafe)
310310
#else
311-
@preconcurrency @MainActor
311+
@preconcurrency@MainActor
312312
#endif
313313
@_spi(Presentation)
314314
public struct DestinationContent<State, Action> {

Sources/ComposableArchitecture/TestStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ import IssueReporting
426426
#if swift(<5.10)
427427
@MainActor(unsafe)
428428
#else
429-
@preconcurrency @MainActor
429+
@preconcurrency@MainActor
430430
#endif
431431
public final class TestStore<State, Action> {
432432

Sources/ComposableArchitecture/ViewStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ import SwiftUI
8989
#if swift(<5.10)
9090
@MainActor(unsafe)
9191
#else
92-
@preconcurrency @MainActor
92+
@preconcurrency@MainActor
9393
#endif
9494
public final class ViewStore<ViewState, ViewAction>: ObservableObject {
9595
// N.B. `ViewStore` does not use a `@Published` property, so `objectWillChange`

Tests/ComposableArchitectureTests/StoreLifetimeTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ final class StoreLifetimeTests: BaseTCATestCase {
4848
}
4949

5050
#if DEBUG
51-
func testStoreDeinit() {
51+
func testStoreDeinit() {
5252
Logger.shared.isEnabled = true
5353
do {
5454
let store = Store<Void, Void>(initialState: ()) {}

0 commit comments

Comments
 (0)