Skip to content

Commit eb0597a

Browse files
committed
stabilize const_int_sign
1 parent e258489 commit eb0597a

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/libcore/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
#![feature(const_str_as_bytes)]
115115
#![feature(const_str_len)]
116116
#![cfg_attr(stage0, feature(const_int_rotate))]
117-
#![feature(const_int_sign)]
118117
#![feature(const_int_conversion)]
119118
#![feature(const_transmute)]
120119
#![feature(reverse_bits)]

src/libcore/num/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,7 +1886,6 @@ assert!(!(-10", stringify!($SelfT), ").is_positive());",
18861886
$EndFeature, "
18871887
```"),
18881888
#[stable(feature = "rust1", since = "1.0.0")]
1889-
#[rustc_const_unstable(feature = "const_int_sign")]
18901889
#[inline]
18911890
pub const fn is_positive(self) -> bool { self > 0 }
18921891
}
@@ -1905,7 +1904,6 @@ assert!(!10", stringify!($SelfT), ".is_negative());",
19051904
$EndFeature, "
19061905
```"),
19071906
#[stable(feature = "rust1", since = "1.0.0")]
1908-
#[rustc_const_unstable(feature = "const_int_sign")]
19091907
#[inline]
19101908
pub const fn is_negative(self) -> bool { self < 0 }
19111909
}

0 commit comments

Comments
 (0)