mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[naga] Delete unused constant Handle::DUMMY.
This commit is contained in:
committed by
Teodor Tanasoaia
parent
beb89f7956
commit
7721e33693
@@ -80,12 +80,6 @@ impl<T> hash::Hash for Handle<T> {
|
||||
}
|
||||
|
||||
impl<T> Handle<T> {
|
||||
#[cfg(test)]
|
||||
pub const DUMMY: Self = Handle {
|
||||
index: unsafe { NonZeroU32::new_unchecked(u32::MAX) },
|
||||
marker: PhantomData,
|
||||
};
|
||||
|
||||
pub(crate) const fn new(index: Index) -> Self {
|
||||
Handle {
|
||||
index,
|
||||
|
||||
Reference in New Issue
Block a user