diff --git a/lambda/handler.go b/lambda/handler.go index f6f931c1..39b8d6d8 100644 --- a/lambda/handler.go +++ b/lambda/handler.go @@ -76,7 +76,7 @@ func validateReturns(handler reflect.Type) error { } // NewHandler creates a base lambda handler from the given handler function. The -// returned Handler performs JSON deserialization and deserialization, and +// returned Handler performs JSON serialization and deserialization, and // delegates to the input handler function. The handler function parameter must // satisfy the rules documented by Start. If handlerFunc is not a valid // handler, the returned Handler simply reports the validation error.