From ea5f41f0b8f9c5dbf1f068a53f3ea7b0fb42cae5 Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Mon, 30 Nov 2020 22:16:00 -0800 Subject: [PATCH] fmt --- .../src/renderer/render_resource/render_resource_bindings.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/bevy_render/src/renderer/render_resource/render_resource_bindings.rs b/crates/bevy_render/src/renderer/render_resource/render_resource_bindings.rs index ed6fa78eb1c6b..3b8c232b2ce3e 100644 --- a/crates/bevy_render/src/renderer/render_resource/render_resource_bindings.rs +++ b/crates/bevy_render/src/renderer/render_resource/render_resource_bindings.rs @@ -101,7 +101,8 @@ impl RenderResourceBindings { } } else { // unmatched bind group descriptors might now match - self.bind_group_descriptors.retain(|_, value| value.is_some()); + self.bind_group_descriptors + .retain(|_, value| value.is_some()); } } @@ -164,7 +165,7 @@ impl RenderResourceBindings { } BindGroupStatus::Unchanged(id) => { // PERF: this is only required because RenderResourceContext::remove_stale_bind_groups doesn't inform RenderResourceBindings - // when a stale bind group has been removed + // when a stale bind group has been removed let bind_group = self .get_bind_group(id) .expect("RenderResourceSet was just changed, so it should exist");