chore: satisfy unused_qualifications again, Vulkan edition

This commit is contained in:
Erich Gubler 2024-11-22 00:28:46 -05:00
parent 40fd5245df
commit a902645592

View File

@ -1664,7 +1664,7 @@ impl crate::Device for super::Device {
// Additional safety docs from unstable slice_assume_init_mut
// SAFETY: similar to safety notes for `slice_get_ref`, but we have a
// mutable reference which is also guaranteed to be valid for writes.
unsafe { std::mem::transmute::<&mut [MaybeUninit<T>], &mut [T]>(to_init) }
unsafe { mem::transmute::<&mut [MaybeUninit<T>], &mut [T]>(to_init) }
};
(Self { remainder }, init)
}