Skip to content

Commit 72f42f1

Browse files
committed
copy paste error of stable attribute
1 parent b4e30bd commit 72f42f1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustc/middle/const_eval.rs

-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ pub enum ConstVal {
262262
/// == NaN` (at least if it's the same NaN; distinct encodings for NaN
263263
/// are considering unequal).
264264
impl PartialEq for ConstVal {
265-
#[stable(feature = "rust1", since = "1.0.0")]
266265
fn eq(&self, other: &ConstVal) -> bool {
267266
match (self, other) {
268267
(&Float(a), &Float(b)) => unsafe{transmute::<_,u64>(a) == transmute::<_,u64>(b)},

0 commit comments

Comments
 (0)