summaryrefslogtreecommitdiff
path: root/src/library/layout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/layout.rs')
-rw-r--r--src/library/layout.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/layout.rs b/src/library/layout.rs
index d36cd0e0..591ea2c0 100644
--- a/src/library/layout.rs
+++ b/src/library/layout.rs
@@ -13,7 +13,7 @@ function! {
parse(header, body, ctx, errors, decos) {
AlignFunc {
body: body!(opt: body, ctx, errors, decos),
- map: PosAxisMap::parse::<AxisKey, AlignmentValue>(errors, &mut header.args),
+ map: PosAxisMap::parse::<AxisKey>(errors, &mut header.args),
}
}
@@ -59,7 +59,7 @@ function! {
DirectionFunc {
name_span: header.name.span,
body: body!(opt: body, ctx, errors, decos),
- map: PosAxisMap::parse::<AxisKey, Direction>(errors, &mut header.args),
+ map: PosAxisMap::parse::<AxisKey>(errors, &mut header.args),
}
}
@@ -106,7 +106,7 @@ function! {
parse(header, body, ctx, errors, decos) {
BoxFunc {
body: body!(opt: body, ctx, errors, decos).unwrap_or(SyntaxModel::new()),
- extents: AxisMap::parse::<ExtentKey, PSize>(errors, &mut header.args.key),
+ extents: AxisMap::parse::<ExtentKey>(errors, &mut header.args.key),
debug: header.args.key.get::<bool>(errors, "debug"),
}
}