Skip to content

Commit

Permalink
Appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantMoyer committed Aug 23, 2020
1 parent 52db1bd commit 11d7d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ impl<'q, 'w, Q: HecsQuery> UnindexedProducer for QueryProducer<'q, 'w, Q> {
while len_rem > 0 {
let archetype = &self.archetypes[i];
let chunk_len = len_rem.min(archetype.len() - offset);
len_rem = len_rem - chunk_len;
len_rem -= chunk_len;
if let Some(fetch) = unsafe { Q::Fetch::get(archetype, offset as usize) } {
folder = folder.consume_iter(Batch::<Q> {
_marker: PhantomData::default(),
Expand Down

0 comments on commit 11d7d3f

Please sign in to comment.