diff options
| author | joboet <jonasboettiger@icloud.com> | 2022-09-03 14:05:28 +0200 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2022-09-03 14:05:28 +0200 |
| commit | 8c37fdf2d702ff1fc805f1bbc5de634e1101a4da (patch) | |
| tree | f8e7a1b7ba19ea1468795fdba6f085bc7e9befc3 /library/std/src/sys/windows | |
| parent | 75b7e52e92c3b00fc891b47f5b2efdff0a2be55a (diff) | |
| download | rust-8c37fdf2d702ff1fc805f1bbc5de634e1101a4da.tar.gz rust-8c37fdf2d702ff1fc805f1bbc5de634e1101a4da.zip | |
std: make `ReentrantMutex` movable and `const`; simplify `Stdout` initialization
Diffstat (limited to 'library/std/src/sys/windows')
| -rw-r--r-- | library/std/src/sys/windows/locks/mutex.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/std/src/sys/windows/locks/mutex.rs b/library/std/src/sys/windows/locks/mutex.rs index f91e8f9f59a..91207f5f466 100644 --- a/library/std/src/sys/windows/locks/mutex.rs +++ b/library/std/src/sys/windows/locks/mutex.rs @@ -37,8 +37,6 @@ impl Mutex { pub const fn new() -> Mutex { Mutex { srwlock: UnsafeCell::new(c::SRWLOCK_INIT) } } - #[inline] - pub unsafe fn init(&mut self) {} #[inline] pub unsafe fn lock(&self) { |
