blindsided by clippy

This commit is contained in:
Alex S 2021-06-18 19:31:12 +03:00
parent 52fab481e6
commit 9f6f4da4ba

View File

@ -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,
}),
}
}