mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Address 'unused variable' warnings when 'span' feature is off. (#1433)
This commit is contained in:
@@ -489,6 +489,9 @@ impl<T: Eq + hash::Hash> UniqueArena<T> {
|
||||
debug_assert!(self.set.len() == self.span_info.len());
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "span"))]
|
||||
let _ = (span, added);
|
||||
|
||||
Handle::from_usize(index)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user