drop some redundant Ord method implementations
This commit is contained in:
parent
2b035d908b
commit
31fa86511c
3 changed files with 3 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
|
||||
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
// http://rust-lang.org/COPYRIGHT.
|
||||
//
|
||||
|
@ -1164,9 +1164,6 @@ impl Ord for Json {
|
|||
}
|
||||
}
|
||||
}
|
||||
fn le(&self, other: &Json) -> bool { !(*other).lt(&(*self)) }
|
||||
fn ge(&self, other: &Json) -> bool { !(*self).lt(other) }
|
||||
fn gt(&self, other: &Json) -> bool { (*other).lt(&(*self)) }
|
||||
}
|
||||
|
||||
/// A trait for converting values to JSON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue