File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 1
- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
1
+ // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
2
2
// file at the top-level directory of this distribution and at
3
3
// http://rust-lang.org/COPYRIGHT.
4
4
//
@@ -1164,9 +1164,6 @@ impl Ord for Json {
1164
1164
}
1165
1165
}
1166
1166
}
1167
- fn le ( & self , other : & Json ) -> bool { !( * other) . lt ( & ( * self ) ) }
1168
- fn ge ( & self , other : & Json ) -> bool { !( * self ) . lt ( other) }
1169
- fn gt ( & self , other : & Json ) -> bool { ( * other) . lt ( & ( * self ) ) }
1170
1167
}
1171
1168
1172
1169
/// A trait for converting values to JSON
Original file line number Diff line number Diff line change 1
- // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
1
+ // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
2
2
// file at the top-level directory of this distribution and at
3
3
// http://rust-lang.org/COPYRIGHT.
4
4
//
@@ -37,18 +37,6 @@ impl cmp::Ord for Identifier {
37
37
( & AlphaNumeric ( _) , _) => false
38
38
}
39
39
}
40
- #[ inline]
41
- fn le ( & self , other : & Identifier ) -> bool {
42
- ! ( other < self )
43
- }
44
- #[ inline]
45
- fn gt ( & self , other : & Identifier ) -> bool {
46
- other < self
47
- }
48
- #[ inline]
49
- fn ge ( & self , other : & Identifier ) -> bool {
50
- ! ( self < other)
51
- }
52
40
}
53
41
54
42
impl ToStr for Identifier {
You can’t perform that action at this time.
0 commit comments