Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw authored and github-actions[bot] committed Nov 19, 2024
1 parent 69011b6 commit fb82284
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Sources/ComposableArchitecture/Effect.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ extension Effect {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
/// - Returns: An effect wrapping the given asynchronous work.
public static func run(
priority: TaskPriority? = nil,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ extension NavigationLink where Destination == Never {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
#if compiler(>=6)
@MainActor
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ extension Binding {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
/// - Returns: A binding of an optional child store.
#if swift(>=5.10)
@preconcurrency@MainActor
Expand Down Expand Up @@ -321,7 +321,7 @@ extension Perception.Bindable {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
/// - Returns: A binding of an optional child store.
public func scope<State: ObservableState, Action, ChildState, ChildAction>(
state: KeyPath<State, ChildState?>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ extension Reducer {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
/// - Returns: A reducer that combines the child reducer with the parent reducer.
@inlinable
@warn_unqualified_access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ extension Reducer {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
/// - Returns: A reducer that combines the child reducer with the parent reducer.
@inlinable
@warn_unqualified_access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ extension Reducer {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
/// - Returns: A reducer that combines the child reducer with the parent reducer.
@inlinable
@warn_unqualified_access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ extension Reducer {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
/// - Returns: A reducer that combines the child reducer with the parent reducer.
@warn_unqualified_access
@inlinable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public struct Scope<ParentState, ParentAction, Child: Reducer>: Reducer {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
@inlinable
public init<ChildState, ChildAction>(
state toChildState: CaseKeyPath<ParentState, ChildState>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ extension Reducer {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
/// - Returns: A reducer that combines the destination reducer with the parent reducer.
@inlinable
@warn_unqualified_access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public struct NavigationStackStore<State, Action, Root: View, Destination: View>
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
public init(
_ store: Store<StackState<State>, StackAction<State, Action>>,
@ViewBuilder root: () -> Root,
Expand Down Expand Up @@ -101,7 +101,7 @@ public struct NavigationStackStore<State, Action, Root: View, Destination: View>
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
@_disfavoredOverload
public init<D: View>(
_ store: Store<StackState<State>, StackAction<State, Action>>,
Expand Down
2 changes: 1 addition & 1 deletion Sources/ComposableArchitecture/SwiftUI/SwitchStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public struct CaseLet<EnumState, EnumAction, CaseState, CaseAction, Content: Vie
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
public init(
_ toCaseState: @escaping (EnumState) -> CaseState?,
action fromCaseAction: @escaping (CaseAction) -> EnumAction,
Expand Down
2 changes: 1 addition & 1 deletion Sources/ComposableArchitecture/SwiftUI/WithViewStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ extension WithViewStore where ViewState: Equatable, Content: View {
/// changes to the view state will cause the `WithViewStore` to re-compute its view.
/// - content: A function that can generate content from a view store.
/// - file: The file.
/// - line: The line.
/// - line: The line.
public init<State>(
_ store: Store<State, ViewAction>,
observe toViewState: @escaping (_ state: State) -> ViewState,
Expand Down
4 changes: 2 additions & 2 deletions Sources/ComposableArchitecture/TestStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2726,7 +2726,7 @@ public struct TestStoreTask: Hashable, Sendable {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
@available(iOS 16, macOS 13, tvOS 16, watchOS 9, *)
public func finish(
timeout duration: Duration,
Expand All @@ -2751,7 +2751,7 @@ public struct TestStoreTask: Hashable, Sendable {
/// - fileID: The fileID.
/// - filePath: The filePath.
/// - line: The line.
/// - column: The column.
/// - column: The column.
@_disfavoredOverload
public func finish(
timeout nanoseconds: UInt64? = nil,
Expand Down

0 comments on commit fb82284

Please sign in to comment.