diff --git a/crates/bevy_crevice/src/std430/traits.rs b/crates/bevy_crevice/src/std430/traits.rs index dfd5ad7d84..7f2967f3b4 100644 --- a/crates/bevy_crevice/src/std430/traits.rs +++ b/crates/bevy_crevice/src/std430/traits.rs @@ -268,7 +268,7 @@ where offset = item.write_std430(writer)?; } - for item in self.iter() { + for item in iter { item.write_std430(writer)?; }