Skip to content

Commit 32762e5

Browse files
committed
fix: adjust lambda handler documentation
1 parent 10ee17b commit 32762e5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rust-runtime/aws-smithy-http-server/src/routing/lambda_handler.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ use tower::Service;
1313

1414
type HyperRequest = http::Request<hyper::Body>;
1515

16-
/// A [`MakeService`] that produces AWS Lambda compliant services.
16+
/// A [`Service`] that takes a `lambda_http::Request` and converts
17+
/// it to `http::Request<hyper::Body>`.
1718
///
18-
/// [`MakeService`]: tower::make::MakeService
19+
/// [`Service`]: tower::Service
1920
#[derive(Debug, Clone)]
2021
pub struct LambdaHandler<S> {
2122
service: S,

0 commit comments

Comments
 (0)