summaryrefslogtreecommitdiff
path: root/src/library/boxed.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-04 19:21:35 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-04 19:21:35 +0200
commitf4460f8abd7dee1806cf59b4d3777581a6ed154a (patch)
tree8e591d253a537a76f8c309e23b09bf7a9a762fd5 /src/library/boxed.rs
parent0f7c70fd93db23ec866ae13aa2f146b7787afabf (diff)
Style nits 🎈
Diffstat (limited to 'src/library/boxed.rs')
-rw-r--r--src/library/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/boxed.rs b/src/library/boxed.rs
index 94aac48a..c97df8d0 100644
--- a/src/library/boxed.rs
+++ b/src/library/boxed.rs
@@ -6,7 +6,7 @@ use crate::geom::Linear;
/// # Keyword arguments
/// - `width`: The width of the box (length or relative to parent's width).
/// - `height`: The height of the box (length or relative to parent's height).
-pub async fn boxed(mut args: DictValue, ctx: &mut LayoutContext) -> Value {
+pub async fn boxed(mut args: ValueDict, ctx: &mut LayoutContext) -> Value {
let content = args.take::<SynTree>().unwrap_or_default();
let constraints = &mut ctx.constraints;