Skip to content

Commit

Permalink
fix: adjust lambda handler documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hugobast committed Aug 17, 2022
1 parent 10ee17b commit 32762e5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ use tower::Service;

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

/// A [`MakeService`] that produces AWS Lambda compliant services.
/// A [`Service`] that takes a `lambda_http::Request` and converts
/// it to `http::Request<hyper::Body>`.
///
/// [`MakeService`]: tower::make::MakeService
/// [`Service`]: tower::Service
#[derive(Debug, Clone)]
pub struct LambdaHandler<S> {
service: S,
Expand Down

0 comments on commit 32762e5

Please sign in to comment.