File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1313use cmp:: * ;
1414use cmp:: Ordering :: * ;
1515
16- // FIXME(#19630) Remove this work-around
17- macro_rules! e {
18- ( $e: expr) => { $e }
19- }
20-
2116// macro for implementing n-ary tuple functions and operations
2217macro_rules! tuple_impls {
2318 ( $(
@@ -29,19 +24,19 @@ macro_rules! tuple_impls {
2924 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
3025 impl <$( $T: Clone ) ,+> Clone for ( $( $T, ) +) {
3126 fn clone( & self ) -> ( $( $T, ) +) {
32- ( $( e! ( self . $idx. clone( ) ) , ) +)
27+ ( $( self . $idx. clone( ) , ) +)
3328 }
3429 }
3530
3631 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
3732 impl <$( $T: PartialEq ) ,+> PartialEq for ( $( $T, ) +) {
3833 #[ inline]
3934 fn eq( & self , other: & ( $( $T, ) +) ) -> bool {
40- e! ( $( self . $idx == other. $idx) &&+)
35+ $( self . $idx == other. $idx) &&+
4136 }
4237 #[ inline]
4338 fn ne( & self , other: & ( $( $T, ) +) ) -> bool {
44- e! ( $( self . $idx != other. $idx) ||+)
39+ $( self . $idx != other. $idx) ||+
4540 }
4641 }
4742
You can’t perform that action at this time.
0 commit comments