Skip to content

Commit baccc09

Browse files
committed
Format
1 parent a119182 commit baccc09

File tree

4 files changed

+30
-10
lines changed

4 files changed

+30
-10
lines changed

Sources/GRPCCore/Documentation.docc/Tutorials/Route-Guide/Resources/route-guide-sec06-step06-get-feature.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ extension RouteGuide {
1414
}
1515
}
1616

17-
private func getFeature(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
17+
private func getFeature(
18+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
19+
) async throws {
1820
print("→ Calling 'GetFeature'")
1921

2022
let point = Routeguide_Point.with {

Sources/GRPCCore/Documentation.docc/Tutorials/Route-Guide/Resources/route-guide-sec06-step07-list-features.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ extension RouteGuide {
1515
}
1616
}
1717

18-
private func getFeature(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
18+
private func getFeature(
19+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
20+
) async throws {
1921
print("→ Calling 'GetFeature'")
2022

2123
let point = Routeguide_Point.with {
@@ -27,7 +29,9 @@ extension RouteGuide {
2729
print("Got feature '\(feature.name)'")
2830
}
2931

30-
private func listFeatures(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
32+
private func listFeatures(
33+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
34+
) async throws {
3135
print("→ Calling 'ListFeatures'")
3236

3337
let boundingRectangle = Routeguide_Rectangle.with {

Sources/GRPCCore/Documentation.docc/Tutorials/Route-Guide/Resources/route-guide-sec06-step08-record-route.swift

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ extension RouteGuide {
1616
}
1717
}
1818

19-
private func getFeature(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
19+
private func getFeature(
20+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
21+
) async throws {
2022
print("→ Calling 'GetFeature'")
2123

2224
let point = Routeguide_Point.with {
@@ -28,7 +30,9 @@ extension RouteGuide {
2830
print("Got feature '\(feature.name)'")
2931
}
3032

31-
private func listFeatures(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
33+
private func listFeatures(
34+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
35+
) async throws {
3236
print("→ Calling 'ListFeatures'")
3337

3438
let boundingRectangle = Routeguide_Rectangle.with {
@@ -51,7 +55,9 @@ extension RouteGuide {
5155
}
5256
}
5357

54-
private func recordRoute(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
58+
private func recordRoute(
59+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
60+
) async throws {
5561
print("→ Calling 'RecordRoute'")
5662

5763
let features = try self.loadFeatures()

Sources/GRPCCore/Documentation.docc/Tutorials/Route-Guide/Resources/route-guide-sec06-step09-route-chat.swift

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ extension RouteGuide {
1717
}
1818
}
1919

20-
private func getFeature(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
20+
private func getFeature(
21+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
22+
) async throws {
2123
print("→ Calling 'GetFeature'")
2224

2325
let point = Routeguide_Point.with {
@@ -29,7 +31,9 @@ extension RouteGuide {
2931
print("Got feature '\(feature.name)'")
3032
}
3133

32-
private func listFeatures(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
34+
private func listFeatures(
35+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
36+
) async throws {
3337
print("→ Calling 'ListFeatures'")
3438

3539
let boundingRectangle = Routeguide_Rectangle.with {
@@ -52,7 +56,9 @@ extension RouteGuide {
5256
}
5357
}
5458

55-
private func recordRoute(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
59+
private func recordRoute(
60+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
61+
) async throws {
5662
print("→ Calling 'RecordRoute'")
5763

5864
let features = try self.loadFeatures()
@@ -74,7 +80,9 @@ extension RouteGuide {
7480
)
7581
}
7682

77-
private func routeChat(using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>) async throws {
83+
private func routeChat(
84+
using routeGuide: Routeguide_RouteGuide.Client<some ClientTransport>
85+
) async throws {
7886
print("→ Calling 'RouteChat'")
7987

8088
try await routeGuide.routeChat { writer in

0 commit comments

Comments
 (0)