aboutsummaryrefslogtreecommitdiff
path: root/stockton-levels/src/traits/textures.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-levels/src/traits/textures.rs')
-rw-r--r--stockton-levels/src/traits/textures.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/stockton-levels/src/traits/textures.rs b/stockton-levels/src/traits/textures.rs
index d1a2a83..ffd2a2f 100644
--- a/stockton-levels/src/traits/textures.rs
+++ b/stockton-levels/src/traits/textures.rs
@@ -142,8 +142,8 @@ bitflags!(
}
);
-pub trait HasTextures<'a> {
- type TexturesIter: Iterator<Item = &'a Texture>;
+pub trait HasTextures {
+ type TexturesIter<'a>: Iterator<Item = &'a Texture>;
- fn textures_iter(&'a self) -> Self::TexturesIter;
+ fn textures_iter<'a>(&'a self) -> Self::TexturesIter<'a>;
}