summaryrefslogtreecommitdiff
path: root/tests/typ/layout/stack-1.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/layout/stack-1.typ')
-rw-r--r--tests/typ/layout/stack-1.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/layout/stack-1.typ b/tests/typ/layout/stack-1.typ
index 864a06df..8b5472e8 100644
--- a/tests/typ/layout/stack-1.typ
+++ b/tests/typ/layout/stack-1.typ
@@ -12,7 +12,7 @@
rect(width: w, height: 10pt, fill: rgb(v, v, v))
}
-#let items = for i, w in widths {
+#let items = for (i, w) in widths.enumerate() {
(align(right, shaded(i, w)),)
}