diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-12-24 19:35:50 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-12-31 03:36:46 +0100 |
| commit | eb0597ae830595a12de16172ec8fca7232f871fb (patch) | |
| tree | a3e4f0a730f2fae550b9335720802d6d81fe302f /src/libcore/num | |
| parent | e258489eae1d5e0b8a624e1729fb64fbcb6e29ee (diff) | |
| download | rust-eb0597ae830595a12de16172ec8fca7232f871fb.tar.gz rust-eb0597ae830595a12de16172ec8fca7232f871fb.zip | |
stabilize const_int_sign
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 6f32451299b..23db3188005 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -1886,7 +1886,6 @@ assert!(!(-10", stringify!($SelfT), ").is_positive());", $EndFeature, " ```"), #[stable(feature = "rust1", since = "1.0.0")] - #[rustc_const_unstable(feature = "const_int_sign")] #[inline] pub const fn is_positive(self) -> bool { self > 0 } } @@ -1905,7 +1904,6 @@ assert!(!10", stringify!($SelfT), ".is_negative());", $EndFeature, " ```"), #[stable(feature = "rust1", since = "1.0.0")] - #[rustc_const_unstable(feature = "const_int_sign")] #[inline] pub const fn is_negative(self) -> bool { self < 0 } } |
