mirror of
https://github.com/openharmony/third_party_rust_hyper.git
synced 2026-07-19 13:54:29 -04:00
fix(server): Remove unneeded 'static bound of Service on Connection (#1971)
This commit is contained in:
committed by
Sean McArthur
parent
bf71b0c9f0
commit
f2af134d4b
+1
-1
@@ -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