diff options
| author | Ralf Jung <post@ralfj.de> | 2018-11-27 13:48:40 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-11-27 13:48:40 +0100 |
| commit | a81027515069ac500dbbb6ea57bfb72a9eb948ac (patch) | |
| tree | c7b6634825347dc514d6dd1022074c67c45d0108 /src/libstd/sys | |
| parent | f2af41ab8c8a6519bd0175da9fcd873575810def (diff) | |
| download | rust-a81027515069ac500dbbb6ea57bfb72a9eb948ac.tar.gz rust-a81027515069ac500dbbb6ea57bfb72a9eb948ac.zip | |
fix build
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/windows/mutex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/mutex.rs b/src/libstd/sys/windows/mutex.rs index 3ba19a40d48..a8eb82a8a66 100644 --- a/src/libstd/sys/windows/mutex.rs +++ b/src/libstd/sys/windows/mutex.rs @@ -164,7 +164,7 @@ unsafe impl Sync for ReentrantMutex {} impl ReentrantMutex { pub fn uninitialized() -> ReentrantMutex { - MaybeUninit::uninitialized() + ReentrantMutex { inner: MaybeUninit::uninitialized() } } pub unsafe fn init(&mut self) { |
