@@ -51,15 +51,15 @@ pub struct Parts<T> {
5151#[ must_use = "futures do nothing unless polled" ]
5252pub struct Connection < T , B >
5353where
54- T : Read + Write + ' static ,
54+ T : Read + Write ,
5555 B : Body + ' static ,
5656{
5757 inner : Dispatcher < T , B > ,
5858}
5959
6060impl < T , B > Connection < T , B >
6161where
62- T : Read + Write + Unpin + ' static ,
62+ T : Read + Write + Unpin ,
6363 B : Body + ' static ,
6464 B :: Error : Into < Box < dyn StdError + Send + Sync > > ,
6565{
@@ -124,7 +124,7 @@ pub struct Builder {
124124/// See [`client::conn`](crate::client::conn) for more.
125125pub async fn handshake < T , B > ( io : T ) -> crate :: Result < ( SendRequest < B > , Connection < T , B > ) >
126126where
127- T : Read + Write + Unpin + ' static ,
127+ T : Read + Write + Unpin ,
128128 B : Body + ' static ,
129129 B :: Data : Send ,
130130 B :: Error : Into < Box < dyn StdError + Send + Sync > > ,
@@ -247,7 +247,7 @@ impl<B> fmt::Debug for SendRequest<B> {
247247
248248impl < T , B > Connection < T , B >
249249where
250- T : Read + Write + Unpin + Send + ' static ,
250+ T : Read + Write + Unpin + Send ,
251251 B : Body + ' static ,
252252 B :: Error : Into < Box < dyn StdError + Send + Sync > > ,
253253{
@@ -261,7 +261,7 @@ where
261261
262262impl < T , B > fmt:: Debug for Connection < T , B >
263263where
264- T : Read + Write + fmt:: Debug + ' static ,
264+ T : Read + Write + fmt:: Debug ,
265265 B : Body + ' static ,
266266{
267267 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
@@ -271,7 +271,7 @@ where
271271
272272impl < T , B > Future for Connection < T , B >
273273where
274- T : Read + Write + Unpin + ' static ,
274+ T : Read + Write + Unpin ,
275275 B : Body + ' static ,
276276 B :: Data : Send ,
277277 B :: Error : Into < Box < dyn StdError + Send + Sync > > ,
@@ -509,7 +509,7 @@ impl Builder {
509509 io : T ,
510510 ) -> impl Future < Output = crate :: Result < ( SendRequest < B > , Connection < T , B > ) > >
511511 where
512- T : Read + Write + Unpin + ' static ,
512+ T : Read + Write + Unpin ,
513513 B : Body + ' static ,
514514 B :: Data : Send ,
515515 B :: Error : Into < Box < dyn StdError + Send + Sync > > ,
0 commit comments