From 13d1d5214d7d7043f22dee0837fd6600aaa50797 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:23 +0100 Subject: refactor(all): various cleanup --- stockton-render/src/draw_passes/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stockton-render/src/draw_passes/util.rs') diff --git a/stockton-render/src/draw_passes/util.rs b/stockton-render/src/draw_passes/util.rs index 5a4eb1a..7e82209 100644 --- a/stockton-render/src/draw_passes/util.rs +++ b/stockton-render/src/draw_passes/util.rs @@ -27,7 +27,7 @@ impl TargetSpecificResources { } /// Get the next resource, wrapping around if necessary. - pub fn get_next<'a>(&'a mut self) -> &'a T { + pub fn get_next(&mut self) -> &T { let el = &self.elements[self.next_idx]; self.next_idx = (self.next_idx + 1) % self.elements.len(); el -- cgit v1.2.3