@@ -902,7 +902,7 @@ pub(crate) mod spawn_all {
902
902
impl < I , S , E > Watcher < I , S , E > for NoopWatcher
903
903
where
904
904
I : AsyncRead + AsyncWrite + Unpin + Send + ' static ,
905
- S : HttpService < Body > + ' static ,
905
+ S : HttpService < Body > ,
906
906
<S :: ResBody as Payload >:: Data : Unpin ,
907
907
E : H2Exec < S :: Future , S :: ResBody > ,
908
908
{
@@ -1017,7 +1017,7 @@ mod upgrades {
1017
1017
1018
1018
impl < I , B , S , E > UpgradeableConnection < I , S , E >
1019
1019
where
1020
- S : HttpService < Body , ResBody =B > , // + 'static,
1020
+ S : HttpService < Body , ResBody =B > ,
1021
1021
S :: Error : Into < Box < dyn StdError + Send + Sync > > ,
1022
1022
I : AsyncRead + AsyncWrite + Unpin ,
1023
1023
B : Payload + ' static ,
@@ -1035,7 +1035,7 @@ mod upgrades {
1035
1035
1036
1036
impl < I , B , S , E > Future for UpgradeableConnection < I , S , E >
1037
1037
where
1038
- S : HttpService < Body , ResBody =B > + ' static ,
1038
+ S : HttpService < Body , ResBody =B > ,
1039
1039
S :: Error : Into < Box < dyn StdError + Send + Sync > > ,
1040
1040
I : AsyncRead + AsyncWrite + Unpin + Send + ' static ,
1041
1041
B : Payload + ' static ,
0 commit comments