summaryrefslogtreecommitdiff
path: root/src/library/stack.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-02-10 10:29:17 +0100
committerLaurenz <laurmaedje@gmail.com>2022-02-10 10:29:17 +0100
commit624471db619240f0eed849b92dff6a525ce7e547 (patch)
treeb6218c031019a78a99c7bb99fcbbe40918e6f2d7 /src/library/stack.rs
parent6e198bf7606847b0847487a4847d6a3ee3621d2d (diff)
Proper error messages for shorthands
Diffstat (limited to 'src/library/stack.rs')
-rw-r--r--src/library/stack.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/stack.rs b/src/library/stack.rs
index bccd552f..88605a30 100644
--- a/src/library/stack.rs
+++ b/src/library/stack.rs
@@ -20,7 +20,7 @@ impl StackNode {
Ok(Template::block(Self {
dir: args.named("dir")?.unwrap_or(Dir::TTB),
spacing: args.named("spacing")?,
- children: args.all().collect(),
+ children: args.all()?,
}))
}
}