mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
blindsided by clippy
This commit is contained in:
parent
52fab481e6
commit
9f6f4da4ba
@ -1527,13 +1527,11 @@ impl<A: HalApi> Device<A> {
|
||||
};
|
||||
Ok((wgt::TextureUsage::STORAGE, internal_use))
|
||||
}
|
||||
_ => {
|
||||
return Err(Error::WrongBindingType {
|
||||
binding,
|
||||
actual: decl.ty,
|
||||
expected,
|
||||
})
|
||||
}
|
||||
_ => Err(Error::WrongBindingType {
|
||||
binding,
|
||||
actual: decl.ty,
|
||||
expected,
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user