Skip to content

Commit

Permalink
fix(server): Remove unneeded 'static bound of Service on `Connect…
Browse files Browse the repository at this point in the history
…ion` (#1971)
  • Loading branch information
sfackler authored and seanmonstar committed Oct 11, 2019
1 parent 2269596 commit 4d14712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/conn.rs
Expand Up @@ -663,7 +663,7 @@ where

impl<I, B, S, E> Future for Connection<I, S, E>
where
S: Service<Body, ResBody=B> + 'static,
S: Service<Body, ResBody=B>,
S::Error: Into<Box<dyn StdError + Send + Sync>>,
I: AsyncRead + AsyncWrite + Unpin + 'static,
B: Payload + 'static,
Expand Down

0 comments on commit 4d14712

Please sign in to comment.