File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ default = [
2626 " async-task" ,
2727 " crossbeam-channel" ,
2828 " crossbeam-deque" ,
29- " futures-timer" ,
3029 " kv-log-macro" ,
3130 " log" ,
3231 " mio" ,
@@ -42,6 +41,7 @@ std = [
4241 " crossbeam-utils" ,
4342 " futures-core/std" ,
4443 " futures-io" ,
44+ " futures-timer" ,
4545 " memchr" ,
4646 " once_cell" ,
4747 " pin-utils" ,
Original file line number Diff line number Diff line change @@ -257,11 +257,6 @@ macro_rules! extension_trait {
257257 $( #[ cfg( feature = "docs" ) ] $imp) *
258258 } ;
259259
260- // Optimization: expand `$head` eagerly before starting a new method definition.
261- ( @ext ( $( $head: tt) * ) #[ doc = $d: literal] $( $tail: tt) * ) => {
262- $( $head) * extension_trait!( @ext ( #[ doc = $d] ) $( $tail) * ) ;
263- } ;
264-
265260 // Parse the return type in an extension method.
266261 ( @doc ( $( $head: tt) * ) -> impl Future <Output = $out: ty> $( + $lt: lifetime) ? [ $f: ty] $( $tail: tt) * ) => {
267262 extension_trait!( @doc ( $( $head) * -> owned:: ImplFuture <$out>) $( $tail) * ) ;
You can’t perform that action at this time.
0 commit comments