Skip to content

Commit f1dfa66

Browse files
BoxyUwUItsDoot
authored andcommitted
1 parent eb96249 commit f1dfa66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_ecs/src/query/iter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ impl<'w, 's, Q: WorldQuery, F: WorldQuery, const K: usize> QueryCombinationIter<
252252
#[inline]
253253
pub fn fetch_next(&mut self) -> Option<[QueryItem<'_, Q>; K]>
254254
where
255-
QueryFetch<'w, Q>: Clone,
256-
QueryFetch<'w, F>: Clone,
255+
for<'a> QueryFetch<'a, Q>: Clone,
256+
for<'a> QueryFetch<'a, F>: Clone,
257257
{
258258
// safety: we are limiting the returned reference to self,
259259
// making sure this method cannot be called multiple times without getting rid

0 commit comments

Comments
 (0)