update deps: rust-gpu: 985007fc -> dcf37b75, associated rust-toolchain: nightly-2022-08-29 -> nightly-2022-09-25

verified working: cargo test; cargo run --release --bin sr_latch; cargo run --release --bin wavefront
This commit is contained in:
2025-01-13 23:11:55 +00:00
parent dc201549c1
commit dab5e42d1a
11 changed files with 34 additions and 25 deletions

View File

@@ -1,4 +1,5 @@
use core::convert::{AsMut, AsRef};
#[cfg(feature = "iter")]
use core::iter::Zip;
use core::ops::{Index, IndexMut};
@@ -123,7 +124,10 @@ impl<T: IntoIterator> IntoIterator for DimSlice<T> {
}
pub struct DimIter {
// fields are unused if `iter` feature is disabled
#[allow(unused)]
idx: Vec3u,
#[allow(unused)]
dim: Vec3u,
}

View File

@@ -1,4 +1,5 @@
use core::convert::{AsMut, AsRef};
#[cfg(feature = "iter")]
use core::iter::Zip;
use core::ops::{Index, IndexMut};
@@ -81,7 +82,10 @@ impl<T: IntoIterator> IntoIterator for OffsetDimSlice<T> {
}
pub struct OffsetDimIter {
// fields are unused if `iter` feature is disabled
#[allow(unused)]
offset: Vec3u,
#[allow(unused)]
inner: DimIter,
}