Skip to content

Commit 3645145

Browse files
authored
Fixed the public scope of the buildEither(component:) components of RouterBuilder (#12)
1 parent ca4988f commit 3645145

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Binary file not shown.

Sources/APIRouter/RouterBuilder.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ public struct RouterBuilder {
1818
CombinedRouter(components)
1919
}
2020

21-
static func buildEither(first component: _RouterProtocol) -> _RouterProtocol {
21+
public static func buildEither(first component: _RouterProtocol) -> _RouterProtocol {
2222
CombinedRouter([component])
2323
}
2424

25-
static func buildEither(second component: _RouterProtocol) -> _RouterProtocol {
25+
public static func buildEither(second component: _RouterProtocol) -> _RouterProtocol {
2626
CombinedRouter([component])
2727
}
2828
}

0 commit comments

Comments
 (0)