File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 13
13
use cmp:: * ;
14
14
use cmp:: Ordering :: * ;
15
15
16
- // FIXME(#19630) Remove this work-around
17
- macro_rules! e {
18
- ( $e: expr) => { $e }
19
- }
20
-
21
16
// macro for implementing n-ary tuple functions and operations
22
17
macro_rules! tuple_impls {
23
18
( $(
@@ -29,19 +24,19 @@ macro_rules! tuple_impls {
29
24
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
30
25
impl <$( $T: Clone ) ,+> Clone for ( $( $T, ) +) {
31
26
fn clone( & self ) -> ( $( $T, ) +) {
32
- ( $( e! ( self . $idx. clone( ) ) , ) +)
27
+ ( $( self . $idx. clone( ) , ) +)
33
28
}
34
29
}
35
30
36
31
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
37
32
impl <$( $T: PartialEq ) ,+> PartialEq for ( $( $T, ) +) {
38
33
#[ inline]
39
34
fn eq( & self , other: & ( $( $T, ) +) ) -> bool {
40
- e! ( $( self . $idx == other. $idx) &&+)
35
+ $( self . $idx == other. $idx) &&+
41
36
}
42
37
#[ inline]
43
38
fn ne( & self , other: & ( $( $T, ) +) ) -> bool {
44
- e! ( $( self . $idx != other. $idx) ||+)
39
+ $( self . $idx != other. $idx) ||+
45
40
}
46
41
}
47
42
You can’t perform that action at this time.
0 commit comments