Skip to content

Commit 0afbf42

Browse files
authored
Fix typo in LambdaRunner.swift documentation (#171)
1 parent 944e164 commit 0afbf42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/AWSLambdaRuntimeCore/LambdaRunner.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ extension Lambda {
4242
eventLoop: self.eventLoop,
4343
allocator: self.allocator)
4444
return factory(context)
45-
// Hopping back to "our" EventLoop is importnant in case the factory returns a future
45+
// Hopping back to "our" EventLoop is important in case the factory returns a future
4646
// that originated from a foreign EventLoop/EventLoopGroup.
4747
// This can happen if the factory uses a library (let's say a database client) that manages its own threads/loops
4848
// for whatever reason and returns a future that originated from that foreign EventLoop.
@@ -71,7 +71,7 @@ extension Lambda {
7171
invocation: invocation)
7272
logger.debug("sending invocation to lambda handler \(handler)")
7373
return handler.handle(context: context, event: event)
74-
// Hopping back to "our" EventLoop is importnant in case the handler returns a future that
74+
// Hopping back to "our" EventLoop is important in case the handler returns a future that
7575
// originiated from a foreign EventLoop/EventLoopGroup.
7676
// This can happen if the handler uses a library (lets say a DB client) that manages its own threads/loops
7777
// for whatever reason and returns a future that originated from that foreign EventLoop.

0 commit comments

Comments
 (0)