diff options
Diffstat (limited to 'ecs/src/pair.rs')
| -rw-r--r-- | ecs/src/pair.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecs/src/pair.rs b/ecs/src/pair.rs index b4bfa57..0d353e3 100644 --- a/ecs/src/pair.rs +++ b/ecs/src/pair.rs @@ -460,13 +460,13 @@ impl<'world, Relation, Target> WithWildcard<'world, Relation, Target> } } -impl<Relation> WithWildcard<'_, Relation, Wildcard> +impl<'world, Relation> WithWildcard<'world, Relation, Wildcard> where Relation: Component, { /// Attempts to retrieve the target as a entity, returning `None` if not found. #[must_use] - pub fn get_target_ent(&self) -> Option<EntityHandle<'_>> + pub fn get_target_ent(&self) -> Option<EntityHandle<'world>> { let archetype = self .world |
