Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use box syntax instead of Box::new in Mutex::remutex on Windows
The Box::new(mem::uninitialized()) pattern actually actively copies uninitialized bytes from the stack into the box, which is a waste of time. Using the box syntax instead avoids the useless copy.
- Loading branch information