Stabilize const-calling existing const-fns in std

Fixes #46038
This commit is contained in:
Simon Sapin
2017-11-26 23:19:18 +01:00
parent 827cb0d61e
commit 6c5f53e65e
45 changed files with 8 additions and 164 deletions

View File

@@ -156,7 +156,6 @@ struct Finish {
impl Once {
/// Creates a new `Once` value.
#[stable(feature = "once_new", since = "1.2.0")]
#[rustc_const_unstable(feature = "const_once_new")]
pub const fn new() -> Once {
Once {
state: AtomicUsize::new(INCOMPLETE),