From 3e509487b6f241f60c77bf3eb62c79a8aafa1143 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 10 Jan 2025 20:47:48 +0100 Subject: feat(ecs): add support for custom inner ComponentIter iter --- ecs/src/query/flexible.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecs/src/query/flexible.rs') diff --git a/ecs/src/query/flexible.rs b/ecs/src/query/flexible.rs index d081d31..5c23e68 100644 --- a/ecs/src/query/flexible.rs +++ b/ecs/src/query/flexible.rs @@ -84,7 +84,7 @@ impl<'query> Iter<'query> pub fn into_component_iter<'world, Comps>( self, world: &'world World, - ) -> ComponentIter<'query, 'world, Comps> + ) -> ComponentIter<'query, 'world, Comps, Self> where Comps: ComponentRefSequence + 'world, 'world: 'query, -- cgit v1.2.3-18-g5258