Skip to content

Commit

Permalink
Formatted for Swift 5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ekazaev committed Sep 30, 2023
1 parent f770e61 commit 54f23cd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions RouteComposer/Classes/Assemblies/SwitchAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ public final class SwitchAssembly<ViewController: UIViewController, Context> {
}
}

private struct FinderResolver<ViewController: UIViewController, Context>: StepCaseResolver {
private struct FinderResolver<VC: UIViewController, C>: StepCaseResolver {

private let finder: AnyFinder?

private let step: DestinationStep<ViewController, Context>
private let step: DestinationStep<VC, C>

init(finder: some Finder, step: DestinationStep<ViewController, Context>?) {
init(finder: some Finder, step: DestinationStep<VC, C>?) {
self.step = step ?? DestinationStep(GeneralStep.FinderStep(finder: finder))
self.finder = FinderBox(finder)
}
Expand Down
2 changes: 1 addition & 1 deletion RouteComposer/Classes/Steps/SingleContainerStep.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class SingleContainerStep<F: Finder, FC: ContainerFactory>: ActionToStepI

// MARK: Internal entities

final class UnsafeWrapper<VC: UIViewController, C, F: Finder, FC: ContainerFactory>: ActionToStepIntegrator<VC, C>
final class UnsafeWrapper<VC: UIViewController, C>: ActionToStepIntegrator<VC, C>
where
F.ViewController == FC.ViewController, F.Context == FC.Context {

Expand Down
2 changes: 1 addition & 1 deletion RouteComposer/Classes/Steps/SingleStep.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public final class SingleStep<F: Finder, FC: Factory>: ActionToStepIntegrator<F.

// MARK: Internal entities

final class UnsafeWrapper<VC: UIViewController, C, F: Finder, FC: Factory>: ActionToStepIntegrator<VC, C>
final class UnsafeWrapper<VC: UIViewController, C>: ActionToStepIntegrator<VC, C>
where
F.ViewController == FC.ViewController, F.Context == FC.Context {

Expand Down
Binary file modified docs/docsets/RouteComposer.tgz
Binary file not shown.

0 comments on commit 54f23cd

Please sign in to comment.