From 32762e5044ed17fb721726b5e0b3ba8d1e37053d Mon Sep 17 00:00:00 2001 From: Hugo Bastien Date: Wed, 17 Aug 2022 19:35:26 -0400 Subject: [PATCH] fix: adjust lambda handler documentation --- .../aws-smithy-http-server/src/routing/lambda_handler.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rust-runtime/aws-smithy-http-server/src/routing/lambda_handler.rs b/rust-runtime/aws-smithy-http-server/src/routing/lambda_handler.rs index 52d8613428c..b338062782a 100644 --- a/rust-runtime/aws-smithy-http-server/src/routing/lambda_handler.rs +++ b/rust-runtime/aws-smithy-http-server/src/routing/lambda_handler.rs @@ -13,9 +13,10 @@ use tower::Service; type HyperRequest = http::Request; -/// A [`MakeService`] that produces AWS Lambda compliant services. +/// A [`Service`] that takes a `lambda_http::Request` and converts +/// it to `http::Request`. /// -/// [`MakeService`]: tower::make::MakeService +/// [`Service`]: tower::Service #[derive(Debug, Clone)] pub struct LambdaHandler { service: S,