diff options
Diffstat (limited to 'stockton-levels/src/q3/entities.rs')
-rw-r--r-- | stockton-levels/src/q3/entities.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stockton-levels/src/q3/entities.rs b/stockton-levels/src/q3/entities.rs index 1614f26..9284fe4 100644 --- a/stockton-levels/src/q3/entities.rs +++ b/stockton-levels/src/q3/entities.rs @@ -99,10 +99,10 @@ pub fn from_data(data: &[u8]) -> Result<Box<[Entity]>> { Ok(entities.into_boxed_slice()) } -impl<'a> HasEntities<'a> for Q3BSPFile { - type EntitiesIter = std::slice::Iter<'a, Entity>; +impl HasEntities for Q3BSPFile { + type EntitiesIter<'a> = std::slice::Iter<'a, Entity>; - fn entities_iter(&'a self) -> Self::EntitiesIter { + fn entities_iter<'a>(&'a self) -> Self::EntitiesIter<'a> { self.entities.iter() } } |