Skip to content

Commit 0b111cd

Browse files
committed
typos
1 parent c5eb4ae commit 0b111cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/AWSLambdaRuntime/LambdaRuntime.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ import FoundationEssentials
2323
import Foundation
2424
#endif
2525

26-
// This is our gardian to ensure only one LambdaRuntime is running at the time
26+
// This is our guardian to ensure only one LambdaRuntime is running at the time
2727
// We use an Atomic here to ensure thread safety
2828
private let _isRunning = Atomic<Bool>(false)
2929

3030
// We need `@unchecked` Sendable here, as `NIOLockedValueBox` does not understand `sending` today.
3131
// We don't want to use `NIOLockedValueBox` here anyway. We would love to use Mutex here, but this
3232
// sadly crashes the compiler today (on Linux).
33+
// See https://github.com/swiftlang/swift/issues/80036
3334
public final class LambdaRuntime<Handler>: @unchecked Sendable where Handler: StreamingLambdaHandler {
3435
// TODO: We want to change this to Mutex as soon as this doesn't crash the Swift compiler on Linux anymore
3536
@usableFromInline

0 commit comments

Comments
 (0)