Simplify VertexInputState::default() (#2502)

This commit is contained in:
maratik123 2024-03-23 17:34:39 +03:00 committed by GitHub
parent efab013e48
commit 93b6e9401f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -448,11 +448,7 @@ impl VertexInputState {
impl Default for VertexInputState {
#[inline]
fn default() -> Self {
Self {
bindings: HashMap::default(),
attributes: HashMap::default(),
_ne: crate::NonExhaustive(()),
}
Self::new()
}
}