From b8b82c3ea4ec154581f57b0d00f08f2fd1d871ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 1 Jul 2022 15:28:06 +0200 Subject: chore: use Rust 1.62.0 (#15028) --- ext/webgpu/src/compute_pass.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/webgpu/src/compute_pass.rs') diff --git a/ext/webgpu/src/compute_pass.rs b/ext/webgpu/src/compute_pass.rs index 9f6394f7b..5e27583f4 100644 --- a/ext/webgpu/src/compute_pass.rs +++ b/ext/webgpu/src/compute_pass.rs @@ -241,9 +241,9 @@ pub fn op_webgpu_compute_pass_set_bind_group( // Align the data assert!(args.dynamic_offsets_data_start % std::mem::size_of::() == 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::() }; assert!(prefix.is_empty()); assert!(suffix.is_empty()); -- cgit v1.2.3