Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
james-j-obrien committed Jul 22, 2023
1 parent d52344e commit 5a614ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/bevy_render/src/render_phase/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ impl<I: PhaseItem> RenderPhase<I> {
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];
Expand Down

0 comments on commit 5a614ae

Please sign in to comment.