Skip to content

Commit

Permalink
copy paste error of stable attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Oct 19, 2015
1 parent b4e30bd commit 72f42f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc/middle/const_eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
Expand Down

0 comments on commit 72f42f1

Please sign in to comment.