From 6fe15c63fe258e48019f0658fe8675bcf0541bf0 Mon Sep 17 00:00:00 2001 From: meehl <12648828+meehl@users.noreply.github.com> Date: Tue, 18 Aug 2026 11:06:38 +0200 Subject: [PATCH] DrawCommandRecorder::finish() doesn't need mutable reference --- src/draw_commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw_commands.rs b/src/draw_commands.rs index 32531d6..b1f8304 100644 --- a/src/draw_commands.rs +++ b/src/draw_commands.rs @@ -153,7 +153,7 @@ impl DrawCommandRecorder { }); } - pub fn finish(&mut self) -> (u64, &BTreeMap<(i32, i32), Vec>) { + pub fn finish(&self) -> (u64, &BTreeMap<(i32, i32), Vec>) { (self.hasher.finish(), &self.layers) } }