We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unused_qualifications
1 parent 40fd524 commit a902645Copy full SHA for a902645
wgpu-hal/src/vulkan/device.rs
@@ -1664,7 +1664,7 @@ impl crate::Device for super::Device {
1664
// Additional safety docs from unstable slice_assume_init_mut
1665
// SAFETY: similar to safety notes for `slice_get_ref`, but we have a
1666
// mutable reference which is also guaranteed to be valid for writes.
1667
- unsafe { std::mem::transmute::<&mut [MaybeUninit<T>], &mut [T]>(to_init) }
+ unsafe { mem::transmute::<&mut [MaybeUninit<T>], &mut [T]>(to_init) }
1668
};
1669
(Self { remainder }, init)
1670
}
0 commit comments