summaryrefslogtreecommitdiff
path: root/engine-ecs/benches/query.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-07-08 23:19:06 +0200
committerHampusM <hampus@hampusmat.com>2026-07-08 23:19:06 +0200
commit213e4cfc698f0e0f9fcfbe43cf8c49f8f331e699 (patch)
tree666b38f087985fa0ed6d85f3d046760b16666365 /engine-ecs/benches/query.rs
parent05063e79465a33eb156c25edf8193fd77ba24314 (diff)
refactor(engine-ecs): rename entity creation fns to use 'spawn' terminology
Diffstat (limited to 'engine-ecs/benches/query.rs')
-rw-r--r--engine-ecs/benches/query.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine-ecs/benches/query.rs b/engine-ecs/benches/query.rs
index bbc50ab..766ab82 100644
--- a/engine-ecs/benches/query.rs
+++ b/engine-ecs/benches/query.rs
@@ -64,7 +64,7 @@ struct EvenMoreText
fn spawn_1000_entities(world: &mut World)
{
for _ in 0..300 {
- world.create_entity((
+ world.spawn((
Bar {
_path: "/dev/zero".into(),
_num: 65789,
@@ -92,7 +92,7 @@ fn spawn_1000_entities(world: &mut World)
}
for _ in 0..700 {
- world.create_entity((
+ world.spawn((
Bar {
_path: "/dev/null".into(),
_num: 65789,