Skip to content

Commit 9887530

Browse files
committed
fix comments
1 parent f9db2fe commit 9887530

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Examples/quoteapi/Sources/QuoteAPI/QuoteService.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@ struct QuoteServiceImpl: APIProtocol, OpenAPILambdaHttpApi {
2626
}
2727

2828
static func main() async throws {
29-
// when you just need to run the Lambda function, call run()
29+
30+
// when you just need to run the Lambda function, call Self.run()
3031
try await Self.run()
3132

3233
// when you need to have access to the runtime for advanced usage (dependency injection, Service LifeCycle, etc)
3334
// create the LambdaRuntime and run it
3435

35-
// here is an example with Service Lifecycle
36-
// Add the follwing in Package.swift
36+
// Here is an example with Service Lifecycle
37+
// Add the following in Package.swift
3738
// .package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.6.0"),
3839
// and
3940
// .product(name: "ServiceLifecycle", package: "swift-service-lifecycle"),

0 commit comments

Comments
 (0)