Remove inline attribute
Be more conservative with inlining.
This commit is contained in:
parent
369a9dc302
commit
08b9edfe94
1 changed files with 0 additions and 2 deletions
|
@ -1558,7 +1558,6 @@ impl<T: Eq> Eq for [T] {}
|
|||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
impl<T: Ord> Ord for [T] {
|
||||
#[inline]
|
||||
fn cmp(&self, other: &[T]) -> Ordering {
|
||||
let l = cmp::min(self.len(), other.len());
|
||||
let lhs = &self[..l];
|
||||
|
@ -1577,7 +1576,6 @@ impl<T: Ord> Ord for [T] {
|
|||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
impl<T: PartialOrd> PartialOrd for [T] {
|
||||
#[inline]
|
||||
fn partial_cmp(&self, other: &[T]) -> Option<Ordering> {
|
||||
let l = cmp::min(self.len(), other.len());
|
||||
let lhs = &self[..l];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue