diff options
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 |