summaryrefslogtreecommitdiff
path: root/tests/typ/graphics/shape-rect.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/graphics/shape-rect.typ')
-rw-r--r--tests/typ/graphics/shape-rect.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/graphics/shape-rect.typ b/tests/typ/graphics/shape-rect.typ
index 7d110180..94686da2 100644
--- a/tests/typ/graphics/shape-rect.typ
+++ b/tests/typ/graphics/shape-rect.typ
@@ -47,10 +47,10 @@
---
// Outset padding.
#set raw(lang: "rust")
-#show node: raw as [
+#show raw: it => [
#set text(8pt)
#h(5.6pt, weak: true)
- #rect(radius: 3pt, outset: (y: 3pt, x: 2.5pt), fill: rgb(239, 241, 243), node)
+ #rect(radius: 3pt, outset: (y: 3pt, x: 2.5pt), fill: rgb(239, 241, 243), it)
#h(5.6pt, weak: true)
]