diff options
| author | Marmare314 <49279081+Marmare314@users.noreply.github.com> | 2023-04-06 15:26:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-06 15:26:09 +0200 |
| commit | 0f8219b392e96d3cf7d784ee5d474274169d9918 (patch) | |
| tree | 60ce53bb076b61b09184f4f1aefa2fa63ebb3ed2 /tests/typ/visualize | |
| parent | a73149767c82509b77ccf6996ab0b1125cc9c249 (diff) | |
Unpacking syntax (#532)
Closes #341
Diffstat (limited to 'tests/typ/visualize')
| -rw-r--r-- | tests/typ/visualize/shape-fill-stroke.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/visualize/shape-fill-stroke.typ b/tests/typ/visualize/shape-fill-stroke.typ index 24ace85b..0d133171 100644 --- a/tests/typ/visualize/shape-fill-stroke.typ +++ b/tests/typ/visualize/shape-fill-stroke.typ @@ -2,7 +2,7 @@ --- #let variant = rect.with(width: 20pt, height: 10pt) -#let items = for i, item in ( +#let items = for (i, item) in ( variant(stroke: none), variant(), variant(fill: none), @@ -15,7 +15,7 @@ variant(fill: forest, stroke: conifer), variant(fill: forest, stroke: black + 2pt), variant(fill: forest, stroke: conifer + 2pt), -) { +).enumerate() { (align(horizon)[#(i + 1).], item, []) } |
