summaryrefslogtreecommitdiff
path: root/crates/typst-library/src/layout/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-library/src/layout/layout.rs')
-rw-r--r--crates/typst-library/src/layout/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-library/src/layout/layout.rs b/crates/typst-library/src/layout/layout.rs
index c3d112e1..05e4f6d9 100644
--- a/crates/typst-library/src/layout/layout.rs
+++ b/crates/typst-library/src/layout/layout.rs
@@ -89,7 +89,7 @@ impl Show for Packed<LayoutElem> {
let loc = elem.location().unwrap();
let context = Context::new(Some(loc), Some(styles));
let result = elem
- .func()
+ .func
.call(
engine,
context.track(),