From eb0597ae830595a12de16172ec8fca7232f871fb Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Mon, 24 Dec 2018 19:35:50 +0100 Subject: stabilize const_int_sign --- src/libcore/num/mod.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libcore/num') 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 } } -- cgit 1.4.1-3-g733a5