@@ -45,7 +45,7 @@ extension_trait! {
4545 /// ```
4646 #[ cfg( feature = "unstable" ) ]
4747 #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
48- fn delay( self , dur: Duration ) -> impl Future < Output = Self :: Output > [ DelayFuture <Self >]
48+ fn delay( self , dur: Duration ) -> [ DelayFuture <Self >]
4949 where
5050 Self : Sized ,
5151 {
@@ -70,8 +70,7 @@ extension_trait! {
7070 #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
7171 fn flatten(
7272 self ,
73- ) -> impl Future <Output = <Self :: Output as IntoFuture >:: Output >
74- [ FlattenFuture <Self , <Self :: Output as IntoFuture >:: Future >]
73+ ) -> [ FlattenFuture <Self , <Self :: Output as IntoFuture >:: Future >]
7574 where
7675 Self : Sized ,
7776 <Self as Future >:: Output : IntoFuture ,
@@ -113,7 +112,7 @@ extension_trait! {
113112 fn race<F >(
114113 self ,
115114 other: F ,
116- ) -> impl Future < Output = < Self as std :: future :: Future > :: Output > [ Race <Self , F >]
115+ ) -> [ Race <Self , F >]
117116 where
118117 Self : std:: future:: Future + Sized ,
119118 F : std:: future:: Future <Output = <Self as std:: future:: Future >:: Output >,
@@ -159,7 +158,7 @@ extension_trait! {
159158 fn try_race<F , T , E >(
160159 self ,
161160 other: F
162- ) -> impl Future < Output = < Self as std :: future :: Future > :: Output > [ TryRace <Self , F >]
161+ ) -> [ TryRace <Self , F >]
163162 where
164163 Self : std:: future:: Future <Output = Result <T , E >> + Sized ,
165164 F : std:: future:: Future <Output = <Self as std:: future:: Future >:: Output >,
@@ -196,7 +195,7 @@ extension_trait! {
196195 fn join<F >(
197196 self ,
198197 other: F
199- ) -> impl Future < Output = ( < Self as std :: future :: Future > :: Output , < F as std :: future :: Future > :: Output ) > [ Join <Self , F >]
198+ ) -> [ Join <Self , F >]
200199 where
201200 Self : std:: future:: Future + Sized ,
202201 F : std:: future:: Future ,
@@ -243,7 +242,7 @@ extension_trait! {
243242 fn try_join<F , A , B , E >(
244243 self ,
245244 other: F
246- ) -> impl Future < Output = Result < ( A , B ) , E >> [ TryJoin <Self , F >]
245+ ) -> [ TryJoin <Self , F >]
247246 where
248247 Self : std:: future:: Future <Output = Result <A , E >> + Sized ,
249248 F : std:: future:: Future <Output = Result <B , E >>,
@@ -279,7 +278,7 @@ extension_trait! {
279278 "# ]
280279 #[ cfg( any( all( feature = "default" , feature = "unstable" ) , feature = "docs" ) ) ]
281280 #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
282- fn timeout( self , dur: Duration ) -> impl Future < Output = Self :: Output > [ TimeoutFuture <Self >]
281+ fn timeout( self , dur: Duration ) -> [ TimeoutFuture <Self >]
283282 where Self : Sized
284283 {
285284 TimeoutFuture :: new( self , dur)
0 commit comments