aboutsummaryrefslogtreecommitdiff
path: root/stockton-levels/src/traits/light_maps.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:21 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:21 +0100
commit2111c1248b08236a839dcf22036f92735bceb31c (patch)
tree9313da344b7134a913d1d917162e55b35fe1e74f /stockton-levels/src/traits/light_maps.rs
parent102e166b040030b590df83888a1d1a47d0130f10 (diff)
chore(all): style formatting and clippy fixes
Diffstat (limited to 'stockton-levels/src/traits/light_maps.rs')
-rw-r--r--stockton-levels/src/traits/light_maps.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/stockton-levels/src/traits/light_maps.rs b/stockton-levels/src/traits/light_maps.rs
index 9b30d91..59dc27f 100644
--- a/stockton-levels/src/traits/light_maps.rs
+++ b/stockton-levels/src/traits/light_maps.rs
@@ -57,6 +57,6 @@ impl fmt::Debug for LightMap {
pub trait HasLightMaps {
type LightMapsIter<'a>: Iterator<Item = &'a LightMap>;
- fn lightmaps_iter<'a>(&'a self) -> Self::LightMapsIter<'a>;
- fn get_lightmap<'a>(&'a self, index: u32) -> &'a LightMap;
-} \ No newline at end of file
+ fn lightmaps_iter(&self) -> Self::LightMapsIter<'_>;
+ fn get_lightmap(&self, index: u32) -> &LightMap;
+}