Simplify name of function parameter

This commit is contained in:
Hanno Braun 2024-11-25 23:00:18 +01:00
parent 322200ed12
commit 81bb76cf85

View File

@ -87,8 +87,8 @@ impl Renderer {
}) })
} }
pub fn render(&mut self, all_operations: &OpsLog) -> anyhow::Result<()> { pub fn render(&mut self, operations: &OpsLog) -> anyhow::Result<()> {
let Some(selected_operation) = all_operations.selected() else { let Some(selected_operation) = operations.selected() else {
return Ok(()); return Ok(());
}; };
@ -138,7 +138,7 @@ impl Renderer {
&self.queue, &self.queue,
&self.surface_config, &self.surface_config,
selected_operation, selected_operation,
all_operations, operations,
&mut render_pass, &mut render_pass,
)?; )?;
} }