]> git.lizzy.rs Git - rust.git/commitdiff
copy paste error of stable attribute
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Wed, 14 Oct 2015 10:30:33 +0000 (12:30 +0200)
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>
Mon, 19 Oct 2015 11:13:02 +0000 (13:13 +0200)
src/librustc/middle/const_eval.rs

index 2066c821749c7137dd3136e24dcb482f9a7e6e5b..00b4e34c18fa5e1d9c9a6e85a4ad31e1d7392429 100644 (file)
@@ -262,7 +262,6 @@ pub enum ConstVal {
 /// == NaN` (at least if it's the same NaN; distinct encodings for NaN
 /// are considering unequal).
 impl PartialEq for ConstVal {
-    #[stable(feature = "rust1", since = "1.0.0")]
     fn eq(&self, other: &ConstVal) -> bool {
         match (self, other) {
             (&Float(a), &Float(b)) => unsafe{transmute::<_,u64>(a) == transmute::<_,u64>(b)},