summaryrefslogtreecommitdiff
path: root/macros/src
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src')
-rw-r--r--macros/src/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/node.rs b/macros/src/node.rs
index 45e91b2e..d08fc66b 100644
--- a/macros/src/node.rs
+++ b/macros/src/node.rs
@@ -284,7 +284,7 @@ fn create_node_construct_func(node: &Node) -> syn::ImplItemMethod {
node.construct.clone().unwrap_or_else(|| {
parse_quote! {
fn construct(
- _: &mut ::typst::model::Vm,
+ _: &::typst::model::Vm,
_: &mut ::typst::model::Args,
) -> ::typst::diag::SourceResult<::typst::model::Content> {
unimplemented!()