mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
Address 'unused variable' warnings when 'span' feature is off. (#1433)
This commit is contained in:
1 parent
004a12e21d
commit
3e992d8bbf
1 file changed
+3
@@ -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