diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-24 17:39:08 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-24 17:41:41 +0100 |
| commit | 8d3c68a1deb28dce2b80ed61f85141180ce6a951 (patch) | |
| tree | de007203d448d6b6a2df7838e802f85d23ccd1a6 /library/src/structure/reference.rs | |
| parent | 5ae81971f299688b05d77af208d7bb44ffce5e2d (diff) | |
Protect Vm
Diffstat (limited to 'library/src/structure/reference.rs')
| -rw-r--r-- | library/src/structure/reference.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/structure/reference.rs b/library/src/structure/reference.rs index 4f672707..361f8c25 100644 --- a/library/src/structure/reference.rs +++ b/library/src/structure/reference.rs @@ -7,7 +7,7 @@ pub struct RefNode(pub EcoString); #[node(Show)] impl RefNode { - fn construct(_: &mut Vm, args: &mut Args) -> SourceResult<Content> { + fn construct(_: &Vm, args: &mut Args) -> SourceResult<Content> { Ok(Self(args.expect("target")?).pack()) } |
