Skip to content

Commit a902645

Browse files
chore: satisfy unused_qualifications again, Vulkan edition
1 parent 40fd524 commit a902645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wgpu-hal/src/vulkan/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ impl crate::Device for super::Device {
16641664
// Additional safety docs from unstable slice_assume_init_mut
16651665
// SAFETY: similar to safety notes for `slice_get_ref`, but we have a
16661666
// mutable reference which is also guaranteed to be valid for writes.
1667-
unsafe { std::mem::transmute::<&mut [MaybeUninit<T>], &mut [T]>(to_init) }
1667+
unsafe { mem::transmute::<&mut [MaybeUninit<T>], &mut [T]>(to_init) }
16681668
};
16691669
(Self { remainder }, init)
16701670
}

0 commit comments

Comments
 (0)