summaryrefslogtreecommitdiff
path: root/src/libcore/cmp.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-11-06 00:13:46 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-11-06 00:13:46 +0300
commit2ef07f05192c98c7441977420efde6730d730b25 (patch)
tree70588884d3842a5a63bb8ae6d961f8a7a3a24d9f /src/libcore/cmp.rs
parent7839827a39c9f2eff7dd8146d167de574d09809b (diff)
downloadrust-2ef07f05192c98c7441977420efde6730d730b25.tar.gz
Remove stability annotations from trait impl items
Remove `stable` stability annotations from inherent impls
Diffstat (limited to 'src/libcore/cmp.rs')
-rw-r--r--src/libcore/cmp.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs
index fa1f4727bc0..302c9d0c369 100644
--- a/src/libcore/cmp.rs
+++ b/src/libcore/cmp.rs
@@ -199,7 +199,6 @@ impl Eq for Ordering {}
#[stable(feature = "rust1", since = "1.0.0")]
impl Ord for Ordering {
#[inline]
- #[stable(feature = "rust1", since = "1.0.0")]
fn cmp(&self, other: &Ordering) -> Ordering {
(*self as i32).cmp(&(*other as i32))
}
@@ -208,7 +207,6 @@ impl Ord for Ordering {
#[stable(feature = "rust1", since = "1.0.0")]
impl PartialOrd for Ordering {
#[inline]
- #[stable(feature = "rust1", since = "1.0.0")]
fn partial_cmp(&self, other: &Ordering) -> Option<Ordering> {
(*self as i32).partial_cmp(&(*other as i32))
}