File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ macro_rules! __impl_slice_eq1 {
21
21
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
22
22
impl <' a, ' b, A : $Bound, B > PartialEq <$Rhs> for $Lhs where A : PartialEq <B > {
23
23
#[ inline]
24
- fn eq( & self , other: & $Rhs) -> bool { & self [ ..] == & other[ ..] }
24
+ fn eq( & self , other: & $Rhs) -> bool { self [ ..] == other[ ..] }
25
25
#[ inline]
26
- fn ne( & self , other: & $Rhs) -> bool { & self [ ..] != & other[ ..] }
26
+ fn ne( & self , other: & $Rhs) -> bool { self [ ..] != other[ ..] }
27
27
}
28
28
}
29
29
}
@@ -39,9 +39,9 @@ macro_rules! __impl_slice_eq2 {
39
39
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
40
40
impl <' a, ' b, A : $Bound, B > PartialEq <$Lhs> for $Rhs where B : PartialEq <A > {
41
41
#[ inline]
42
- fn eq( & self , other: & $Lhs) -> bool { & self [ ..] == & other[ ..] }
42
+ fn eq( & self , other: & $Lhs) -> bool { self [ ..] == other[ ..] }
43
43
#[ inline]
44
- fn ne( & self , other: & $Lhs) -> bool { & self [ ..] != & other[ ..] }
44
+ fn ne( & self , other: & $Lhs) -> bool { self [ ..] != other[ ..] }
45
45
}
46
46
}
47
47
}
You can’t perform that action at this time.
0 commit comments