fix(server): Remove unneeded 'static bound of Service on Connection (#1971)
This commit is contained in:
committed by
Sean McArthur
parent
22695968d2
commit
4d14712643
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user