summaryrefslogtreecommitdiff
path: root/ecs/benches/query.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/benches/query.rs')
-rw-r--r--ecs/benches/query.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/benches/query.rs b/ecs/benches/query.rs
index 0f18f5c..f14bb06 100644
--- a/ecs/benches/query.rs
+++ b/ecs/benches/query.rs
@@ -127,7 +127,7 @@ fn benchbark(criterion: &mut Criterion)
spawn_1000_entities(&mut world);
- let query = world.query::<(Bar, Position, Foo), ()>();
+ let query = world.query::<(&Bar, &Position, &Foo), ()>();
bencher.iter(|| {
for comps in query.iter() {