Skip to content

Commit

Permalink
Fixed the public scope of the buildEither(component:) components of…
Browse files Browse the repository at this point in the history
… `RouterBuilder` (#12)
  • Loading branch information
devyhan authored Dec 15, 2022
1 parent ca4988f commit 3645145
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file not shown.
4 changes: 2 additions & 2 deletions Sources/APIRouter/RouterBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ public struct RouterBuilder {
CombinedRouter(components)
}

static func buildEither(first component: _RouterProtocol) -> _RouterProtocol {
public static func buildEither(first component: _RouterProtocol) -> _RouterProtocol {
CombinedRouter([component])
}

static func buildEither(second component: _RouterProtocol) -> _RouterProtocol {
public static func buildEither(second component: _RouterProtocol) -> _RouterProtocol {
CombinedRouter([component])
}
}
Expand Down

0 comments on commit 3645145

Please sign in to comment.