diff --git a/crates/bevy_render/src/render_phase/mod.rs b/crates/bevy_render/src/render_phase/mod.rs index a0401c2b2011e..e91eae9d2e064 100644 --- a/crates/bevy_render/src/render_phase/mod.rs +++ b/crates/bevy_render/src/render_phase/mod.rs @@ -105,7 +105,10 @@ impl RenderPhase { let mut draw_functions = draw_functions.write(); draw_functions.prepare(world); - let items = self.items.get(range).expect("`Range` provided to `render_range()` is out of bounds"); + let items = self + .items + .get(range) + .expect("`Range` provided to `render_range()` is out of bounds"); let mut index = 0; while index < items.len() { let item = &items[index];