about summary refs log tree commit diff
path: root/src/libstd/sys_common
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-12-14 22:10:12 +0800
committerGitHub <noreply@github.com>2018-12-14 22:10:12 +0800
commit27c3631d826aaad964f42ee94f26f9e80d658e3f (patch)
tree48ca19baf194148a2d4f9d7ee3e5f4151181fc68 /src/libstd/sys_common
parent3e17988a537a5aaa4c02d8ba586b5cfe58c73aae (diff)
parent5457b19fe9ecc936129755005de439d44e27a4ec (diff)
downloadrust-27c3631d826aaad964f42ee94f26f9e80d658e3f.tar.gz
rust-27c3631d826aaad964f42ee94f26f9e80d658e3f.zip
Rollup merge of #56708 - oli-obk:stability_internal_const_fn, r=alexcrichton
Remove some unnecessary feature gates

fixes #56585

cc @jethrogb
Diffstat (limited to 'src/libstd/sys_common')
-rw-r--r--src/libstd/sys_common/condvar.rs1
-rw-r--r--src/libstd/sys_common/mutex.rs1
-rw-r--r--src/libstd/sys_common/rwlock.rs1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/sys_common/condvar.rs b/src/libstd/sys_common/condvar.rs
index 16bf0803a8d..b6f29dd5fc3 100644
--- a/src/libstd/sys_common/condvar.rs
+++ b/src/libstd/sys_common/condvar.rs
@@ -25,7 +25,6 @@ impl Condvar {
     ///
     /// Behavior is undefined if the condition variable is moved after it is
     /// first used with any of the functions below.
-    #[unstable(feature = "sys_internals", issue = "0")] // FIXME: min_const_fn
     pub const fn new() -> Condvar { Condvar(imp::Condvar::new()) }
 
     /// Prepares the condition variable for use.
diff --git a/src/libstd/sys_common/mutex.rs b/src/libstd/sys_common/mutex.rs
index 87684237638..c6d531c7a1a 100644
--- a/src/libstd/sys_common/mutex.rs
+++ b/src/libstd/sys_common/mutex.rs
@@ -27,7 +27,6 @@ impl Mutex {
     /// Also, until `init` is called, behavior is undefined if this
     /// mutex is ever used reentrantly, i.e., `raw_lock` or `try_lock`
     /// are called by the thread currently holding the lock.
-    #[unstable(feature = "sys_internals", issue = "0")] // FIXME: min_const_fn
     pub const fn new() -> Mutex { Mutex(imp::Mutex::new()) }
 
     /// Prepare the mutex for use.
diff --git a/src/libstd/sys_common/rwlock.rs b/src/libstd/sys_common/rwlock.rs
index a430c254d3c..71a4f01ec4c 100644
--- a/src/libstd/sys_common/rwlock.rs
+++ b/src/libstd/sys_common/rwlock.rs
@@ -22,7 +22,6 @@ impl RWLock {
     ///
     /// Behavior is undefined if the reader-writer lock is moved after it is
     /// first used with any of the functions below.
-    #[unstable(feature = "sys_internals", issue = "0")] // FIXME: min_const_fn
     pub const fn new() -> RWLock { RWLock(imp::RWLock::new()) }
 
     /// Acquires shared access to the underlying lock, blocking the current