diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2018-12-11 10:32:39 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2018-12-11 10:32:39 +0100 |
| commit | 799cadb2bd980d1bcdcc831c2d0e50ec3b27527b (patch) | |
| tree | c3f16114ab31c7785299f10ea86aebd30ffd228b /src/libstd/sys/sgx/waitqueue.rs | |
| parent | 4c0116e13ffd4b84e6691cd3b1f09269c4e76728 (diff) | |
| download | rust-799cadb2bd980d1bcdcc831c2d0e50ec3b27527b.tar.gz rust-799cadb2bd980d1bcdcc831c2d0e50ec3b27527b.zip | |
Remove unnecessary feature gates from const fns
Diffstat (limited to 'src/libstd/sys/sgx/waitqueue.rs')
| -rw-r--r-- | src/libstd/sys/sgx/waitqueue.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/sys/sgx/waitqueue.rs b/src/libstd/sys/sgx/waitqueue.rs index ec1135ba30c..ef0def13eee 100644 --- a/src/libstd/sys/sgx/waitqueue.rs +++ b/src/libstd/sys/sgx/waitqueue.rs @@ -50,7 +50,6 @@ pub struct WaitVariable<T> { } impl<T> WaitVariable<T> { - #[unstable(feature = "sgx_internals", issue = "0")] // FIXME: min_const_fn pub const fn new(var: T) -> Self { WaitVariable { queue: WaitQueue::new(), @@ -137,7 +136,6 @@ impl<'a, T> Drop for WaitGuard<'a, T> { } impl WaitQueue { - #[unstable(feature = "sgx_internals", issue = "0")] // FIXME: min_const_fn pub const fn new() -> Self { WaitQueue { inner: UnsafeList::new() @@ -255,7 +253,6 @@ mod unsafe_list { } impl<T> UnsafeList<T> { - #[unstable(feature = "sgx_internals", issue = "0")] // FIXME: min_const_fn pub const fn new() -> Self { unsafe { UnsafeList { |
