summaryrefslogtreecommitdiff
path: root/src/library/container.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/container.rs')
-rw-r--r--src/library/container.rs2
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))))
}
}