mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-04-12 20:16:34 +00:00
chore: satisfy unused_qualifications
again, Vulkan edition
This commit is contained in:
parent
40fd5245df
commit
a902645592
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user