Auto merge of #132326 - matthiaskrgr:rollup-ngyw18g, r=matthiaskrgr · qinheping/verify-rust-std@9b9ea35 (original) (raw)
2 files changed
lines changed
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -20,7 +20,6 @@ unsafe impl Sync for Condvar {} | ||
| 20 | 20 | |
| 21 | 21 | impl Condvar { |
| 22 | 22 | #[inline] |
| 23 | -#[rustc_const_stable(feature = "const_locks", since = "1.63.0")] | |
| 24 | 23 | pub const fn new() -> Condvar { |
| 25 | 24 | Condvar { counter: AtomicUsize::new(0), timed_out: AtomicUsize::new(0) } |
| 26 | 25 | } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -24,7 +24,6 @@ pub struct Mutex { | ||
| 24 | 24 | |
| 25 | 25 | impl Mutex { |
| 26 | 26 | #[inline] |
| 27 | -#[rustc_const_stable(feature = "const_locks", since = "1.63.0")] | |
| 28 | 27 | pub const fn new() -> Mutex { |
| 29 | 28 | Mutex { locked: AtomicUsize::new(0), contended: AtomicBool::new(false) } |
| 30 | 29 | } |