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/layout/pad.rs | |
| parent | 5ae81971f299688b05d77af208d7bb44ffce5e2d (diff) | |
Protect Vm
Diffstat (limited to 'library/src/layout/pad.rs')
| -rw-r--r-- | library/src/layout/pad.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/layout/pad.rs b/library/src/layout/pad.rs index 318d9f27..d860e54d 100644 --- a/library/src/layout/pad.rs +++ b/library/src/layout/pad.rs @@ -11,7 +11,7 @@ pub struct PadNode { #[node(LayoutBlock)] impl PadNode { - fn construct(_: &mut Vm, args: &mut Args) -> SourceResult<Content> { + fn construct(_: &Vm, args: &mut Args) -> SourceResult<Content> { let all = args.named("rest")?.or(args.find()?); let x = args.named("x")?; let y = args.named("y")?; |
