diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2017-11-26 23:19:18 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2017-11-26 23:43:44 +0100 |
| commit | 6c5f53e65ee5f022611033dbf58c42e26be7f93d (patch) | |
| tree | 9da24c4b5df8b773ff53d9fa207fdeb3aebdea42 /src/libstd/sync | |
| parent | 827cb0d61e22eb6d5c9c5e8e8d05b07108a9968b (diff) | |
| download | rust-6c5f53e65ee5f022611033dbf58c42e26be7f93d.tar.gz rust-6c5f53e65ee5f022611033dbf58c42e26be7f93d.zip | |
Stabilize const-calling existing const-fns in std
Fixes #46038
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/once.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/sync/once.rs b/src/libstd/sync/once.rs index 2ef99525af5..6fd8b6a5bba 100644 --- a/src/libstd/sync/once.rs +++ b/src/libstd/sync/once.rs @@ -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), |
