@@ -1817,8 +1817,6 @@ mod impls {
1817
1817
impl const PartialEq for $t {
1818
1818
#[ inline]
1819
1819
fn eq( & self , other: & Self ) -> bool { * self == * other }
1820
- #[ inline]
1821
- fn ne( & self , other: & Self ) -> bool { * self != * other }
1822
1820
}
1823
1821
) * )
1824
1822
}
@@ -1829,10 +1827,6 @@ mod impls {
1829
1827
fn eq ( & self , _other : & ( ) ) -> bool {
1830
1828
true
1831
1829
}
1832
- #[ inline]
1833
- fn ne ( & self , _other : & ( ) ) -> bool {
1834
- false
1835
- }
1836
1830
}
1837
1831
1838
1832
partial_eq_impl ! {
@@ -2030,10 +2024,6 @@ mod impls {
2030
2024
fn eq ( & self , other : & & B ) -> bool {
2031
2025
PartialEq :: eq ( * self , * other)
2032
2026
}
2033
- #[ inline]
2034
- fn ne ( & self , other : & & B ) -> bool {
2035
- PartialEq :: ne ( * self , * other)
2036
- }
2037
2027
}
2038
2028
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2039
2029
impl < A : PointeeSized , B : PointeeSized > PartialOrd < & B > for & A
@@ -2102,10 +2092,6 @@ mod impls {
2102
2092
fn eq ( & self , other : & & mut B ) -> bool {
2103
2093
PartialEq :: eq ( * self , * other)
2104
2094
}
2105
- #[ inline]
2106
- fn ne ( & self , other : & & mut B ) -> bool {
2107
- PartialEq :: ne ( * self , * other)
2108
- }
2109
2095
}
2110
2096
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2111
2097
impl < A : PointeeSized , B : PointeeSized > PartialOrd < & mut B > for & mut A
@@ -2172,10 +2158,6 @@ mod impls {
2172
2158
fn eq ( & self , other : & & mut B ) -> bool {
2173
2159
PartialEq :: eq ( * self , * other)
2174
2160
}
2175
- #[ inline]
2176
- fn ne ( & self , other : & & mut B ) -> bool {
2177
- PartialEq :: ne ( * self , * other)
2178
- }
2179
2161
}
2180
2162
2181
2163
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
@@ -2188,9 +2170,5 @@ mod impls {
2188
2170
fn eq ( & self , other : & & B ) -> bool {
2189
2171
PartialEq :: eq ( * self , * other)
2190
2172
}
2191
- #[ inline]
2192
- fn ne ( & self , other : & & B ) -> bool {
2193
- PartialEq :: ne ( * self , * other)
2194
- }
2195
2173
}
2196
2174
}
0 commit comments