diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-07-01 15:28:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 15:28:06 +0200 |
commit | b8b82c3ea4ec154581f57b0d00f08f2fd1d871ce (patch) | |
tree | d94e3230479fe44dfe347d452423f98a5a1d8a47 /ext/webgpu/src/bundle.rs | |
parent | 77c25beaa59d64035c20ef59d93ed5a99677bc93 (diff) |
chore: use Rust 1.62.0 (#15028)
Diffstat (limited to 'ext/webgpu/src/bundle.rs')
-rw-r--r-- | ext/webgpu/src/bundle.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/webgpu/src/bundle.rs b/ext/webgpu/src/bundle.rs index 0c1f82202..1f5e4da7b 100644 --- a/ext/webgpu/src/bundle.rs +++ b/ext/webgpu/src/bundle.rs @@ -152,9 +152,9 @@ pub fn op_webgpu_render_bundle_encoder_set_bind_group( // Align the data assert!(args.dynamic_offsets_data.len() % std::mem::size_of::<u32>() == 0); - // SAFETY: A u8 to u32 cast is safe because we asserted that the length is a - // multiple of 4. let (prefix, dynamic_offsets_data, suffix) = + // SAFETY: A u8 to u32 cast is safe because we asserted that the length is a + // multiple of 4. unsafe { args.dynamic_offsets_data.align_to::<u32>() }; assert!(prefix.is_empty()); assert!(suffix.is_empty()); |