aboutsummaryrefslogtreecommitdiff
path: root/stockton-levels/src/traits/light_vols.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-levels/src/traits/light_vols.rs')
-rw-r--r--stockton-levels/src/traits/light_vols.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/stockton-levels/src/traits/light_vols.rs b/stockton-levels/src/traits/light_vols.rs
index 8e75401..871f028 100644
--- a/stockton-levels/src/traits/light_vols.rs
+++ b/stockton-levels/src/traits/light_vols.rs
@@ -27,6 +27,6 @@ pub struct LightVol {
pub trait HasLightVols {
type LightVolsIter<'a>: Iterator<Item = &'a LightVol>;
- fn lightvols_iter<'a>(&'a self) -> Self::LightVolsIter<'a>;
- fn get_lightvol<'a>(&'a self, index: u32) -> &'a LightVol;
+ fn lightvols_iter(&self) -> Self::LightVolsIter<'_>;
+ fn get_lightvol(&self, index: u32) -> &LightVol;
}