aboutsummaryrefslogtreecommitdiff
path: root/stockton-levels/src/traits/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-levels/src/traits/models.rs')
-rw-r--r--stockton-levels/src/traits/models.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/stockton-levels/src/traits/models.rs b/stockton-levels/src/traits/models.rs
index 4f755f3..1f868ad 100644
--- a/stockton-levels/src/traits/models.rs
+++ b/stockton-levels/src/traits/models.rs
@@ -18,7 +18,7 @@
use na::Vector3;
use std::ops::Range;
-use super::{HasFaces, HasBrushes};
+use super::{HasBrushes, HasFaces};
use crate::coords::CoordSystem;
#[derive(Debug, Clone)]
@@ -32,6 +32,6 @@ pub struct Model {
pub trait HasModels<S: CoordSystem>: HasFaces<S> + HasBrushes<S> {
type ModelsIter<'a>: Iterator<Item = &'a Model>;
- fn models_iter<'a>(&'a self) -> Self::ModelsIter<'a>;
- fn get_model<'a>(&'a self, index: u32) -> &'a Model;
+ fn models_iter(&self) -> Self::ModelsIter<'_>;
+ fn get_model(&self, index: u32) -> &Model;
}