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:
@@ -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,
|
||||
}
|
||||
|
||||
|
@@ -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,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user