diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:23 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:23 +0100 |
commit | 13d1d5214d7d7043f22dee0837fd6600aaa50797 (patch) | |
tree | d2adedb0c5a0986bab28855b10aa54e8575357d8 /stockton-render/src/draw_passes/util.rs | |
parent | 6ab13f2d0cb345795f761181a06777ade61ff09c (diff) |
refactor(all): various cleanup
Diffstat (limited to 'stockton-render/src/draw_passes/util.rs')
-rw-r--r-- | stockton-render/src/draw_passes/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T> TargetSpecificResources<T> { } /// 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 |