diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-02-08 16:39:37 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-02-09 12:34:19 +0100 |
| commit | e089b6ea40015e012302dc55ac5d6cb42ca4876e (patch) | |
| tree | dbb66237cb996bc880560dfd94ac9b682e1ac985 /src/library/container.rs | |
| parent | 68503b9a07b00bce3f4d377bcfe945452de815ea (diff) | |
Set rules for everything
Diffstat (limited to 'src/library/container.rs')
| -rw-r--r-- | src/library/container.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/container.rs b/src/library/container.rs index d2a4f481..143bddfc 100644 --- a/src/library/container.rs +++ b/src/library/container.rs @@ -10,7 +10,7 @@ impl BoxNode { fn construct(_: &mut EvalContext, args: &mut Args) -> TypResult<Template> { let width = args.named("width")?; let height = args.named("height")?; - let body: PackedNode = args.find().unwrap_or_default(); + let body: LayoutNode = args.find().unwrap_or_default(); Ok(Template::inline(body.sized(Spec::new(width, height)))) } } |
