about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-03-19 09:46:11 +0100
committerRalf Jung <post@ralfj.de>2019-03-26 09:23:19 +0100
commit853ae8d931c3fe4cd303edf7d80271c1930b9654 (patch)
tree40886165f9fcd93316af8df1e5e24df224debee0 /src/libstd/sys/windows
parent0e0383abc6d1f7d1edc456f66a2e3f4082e9a0a8 (diff)
downloadrust-853ae8d931c3fe4cd303edf7d80271c1930b9654.tar.gz
rust-853ae8d931c3fe4cd303edf7d80271c1930b9654.zip
fix some uses I missed
Diffstat (limited to 'src/libstd/sys/windows')
-rw-r--r--src/libstd/sys/windows/mutex.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/mutex.rs b/src/libstd/sys/windows/mutex.rs
index 1aa910f05c9..37cbdcefced 100644
--- a/src/libstd/sys/windows/mutex.rs
+++ b/src/libstd/sys/windows/mutex.rs
@@ -154,7 +154,7 @@ unsafe impl Sync for ReentrantMutex {}
 
 impl ReentrantMutex {
     pub fn uninitialized() -> ReentrantMutex {
-        ReentrantMutex { inner: UnsafeCell::new(MaybeUninit::uninitialized()) }
+        ReentrantMutex { inner: UnsafeCell::new(MaybeUninit::uninit()) }
     }
 
     pub unsafe fn init(&mut self) {