File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ unsafe impl Send for Mutex {}
10
10
unsafe impl Sync for Mutex { } // no threads on this platform
11
11
12
12
impl Mutex {
13
- #[ rustc_const_stable( feature = "const_sys_mutex_new" , since = "1.0.0" ) ]
14
13
pub const fn new ( ) -> Mutex {
15
14
Mutex { locked : UnsafeCell :: new ( false ) }
16
15
}
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ impl StaticMutex {
21
21
/// first used with any of the functions below.
22
22
/// Also, the behavior is undefined if this mutex is ever used reentrantly,
23
23
/// i.e., `lock` is called by the thread currently holding the lock.
24
- #[ rustc_const_stable( feature = "const_sys_mutex_new" , since = "1.0.0" ) ]
25
24
pub const fn new ( ) -> Self {
26
25
Self ( imp:: Mutex :: new ( ) )
27
26
}
You can’t perform that action at this time.
0 commit comments