diff --git a/core/container/handle_map/doc.odin b/core/container/handle_map/doc.odin index a40affc3b..14bee7e72 100644 --- a/core/container/handle_map/doc.odin +++ b/core/container/handle_map/doc.odin @@ -48,7 +48,7 @@ Example: hm.remove(&entities, h1) h3 := hm.add(&entities, Entity{pos = {6, 7}}) - assert(hm.is_valid(entities, h3)) + assert(hm.is_valid(&entities, h3)) it := hm.iterator_make(&entities) for e, h in hm.iterate(&it) {