From 81bb76cf85d73466772fb795a13dcc79bb158ae6 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 25 Nov 2024 23:00:18 +0100 Subject: [PATCH] Simplify name of function parameter --- experiments/2024-10-30/src/render/renderer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/experiments/2024-10-30/src/render/renderer.rs b/experiments/2024-10-30/src/render/renderer.rs index 6f0ba3af2..982a2564e 100644 --- a/experiments/2024-10-30/src/render/renderer.rs +++ b/experiments/2024-10-30/src/render/renderer.rs @@ -87,8 +87,8 @@ impl Renderer { }) } - pub fn render(&mut self, all_operations: &OpsLog) -> anyhow::Result<()> { - let Some(selected_operation) = all_operations.selected() else { + pub fn render(&mut self, operations: &OpsLog) -> anyhow::Result<()> { + let Some(selected_operation) = operations.selected() else { return Ok(()); }; @@ -138,7 +138,7 @@ impl Renderer { &self.queue, &self.surface_config, selected_operation, - all_operations, + operations, &mut render_pass, )?; }