Skip to content

Commit

Permalink
chore(examples): Remove unnecessary bound (#2147)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Jan 17, 2025
1 parent 0f31e2e commit 970635a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/src/h2c/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ mod h2c {
impl<S> Service<Request<Incoming>> for H2c<S>
where
S: Service<Request<Body>, Response = Response<Body>> + Clone + Send + 'static,
S::Future: Send + 'static,
S::Error: Into<BoxError> + Sync + Send + 'static,
S::Response: Send + 'static,
S::Future: Send,
S::Error: Into<BoxError> + 'static,
{
type Response = hyper::Response<Body>;
type Error = hyper::Error;
Expand Down

0 comments on commit 970635a

Please sign in to comment.