From c4ef5206571244386b13736dbd764313f00475af Mon Sep 17 00:00:00 2001 From: ComfyFluffy <24245520+ComfyFluffy@users.noreply.github.com> Date: Thu, 30 Nov 2023 02:47:57 +0800 Subject: [PATCH] Add space to a comment inside make_spirv_raw (#4804) --- wgpu/src/util/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu/src/util/mod.rs b/wgpu/src/util/mod.rs index 887b7ca2e2..081346faf7 100644 --- a/wgpu/src/util/mod.rs +++ b/wgpu/src/util/mod.rs @@ -49,7 +49,7 @@ pub fn make_spirv_raw(data: &[u8]) -> Cow<'_, [u32]> { ); assert_ne!(data.len(), 0, "data size must be larger than zero"); - //If the data happens to be aligned, directly use the byte array, + // If the data happens to be aligned, directly use the byte array, // otherwise copy the byte array in an owned vector and use that instead. let mut words = if data.as_ptr().align_offset(align_of::()) == 0 { let (pre, words, post) = unsafe { data.align_to::() };