diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-17 22:04:18 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-17 22:20:37 +0200 |
| commit | 594809e35b9e768f1a50926cf5e7a9df41ba7d16 (patch) | |
| tree | 488f201599a67329d7916b9b3ecb73dd27ad24d7 /tests/typ/insert/rect.typ | |
| parent | c53d98a22f367a9eecfb45d1b22f1be5c6cf908d (diff) | |
Library functions behave more imperatively
- Templates scope state changes
- State-modifying function operate in place instead of returning a template
- Internal template representation contains actual owned nodes instead of a pointer to a syntax tree + an expression map
- No more wide calls
Diffstat (limited to 'tests/typ/insert/rect.typ')
| -rw-r--r-- | tests/typ/insert/rect.typ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/insert/rect.typ b/tests/typ/insert/rect.typ index 7f6bb899..4824095a 100644 --- a/tests/typ/insert/rect.typ +++ b/tests/typ/insert/rect.typ @@ -3,7 +3,7 @@ --- // Test the `rect` function. -#page!(width: 150pt) +#page(width: 150pt) // Fit to text. #rect(fill: conifer)[Textbox] |
