We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 369a9dc commit 08b9edfCopy full SHA for 08b9edf
src/libcore/slice.rs
@@ -1558,7 +1558,6 @@ impl<T: Eq> Eq for [T] {}
1558
1559
#[stable(feature = "rust1", since = "1.0.0")]
1560
impl<T: Ord> Ord for [T] {
1561
- #[inline]
1562
fn cmp(&self, other: &[T]) -> Ordering {
1563
let l = cmp::min(self.len(), other.len());
1564
let lhs = &self[..l];
@@ -1577,7 +1576,6 @@ impl<T: Ord> Ord for [T] {
1577
1576
1578
1579
impl<T: PartialOrd> PartialOrd for [T] {
1580
1581
fn partial_cmp(&self, other: &[T]) -> Option<Ordering> {
1582
1583
0 commit comments