xar: fix example

This commit is contained in:
Laytan Laats
2026-01-11 20:08:59 +01:00
parent ec040c1fcb
commit 08c4503875

View File

@@ -417,9 +417,10 @@ Create an iterator for traversing the exponential array.
Example:
import "lib:xar"
import "core:container/xar"
import "core:fmt"
iteration_example :: proc() {
iterator_example :: proc() {
x: xar.Array(int, 4)
defer xar.destroy(&x)