summaryrefslogtreecommitdiff
path: root/tests/typ/layout/stack-1.typ
diff options
context:
space:
mode:
authorMarmare314 <49279081+Marmare314@users.noreply.github.com>2023-04-06 15:26:09 +0200
committerGitHub <noreply@github.com>2023-04-06 15:26:09 +0200
commit0f8219b392e96d3cf7d784ee5d474274169d9918 (patch)
tree60ce53bb076b61b09184f4f1aefa2fa63ebb3ed2 /tests/typ/layout/stack-1.typ
parenta73149767c82509b77ccf6996ab0b1125cc9c249 (diff)
Unpacking syntax (#532)
Closes #341
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)),)
}