diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-02-10 10:29:17 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-02-10 10:29:17 +0100 |
| commit | 624471db619240f0eed849b92dff6a525ce7e547 (patch) | |
| tree | b6218c031019a78a99c7bb99fcbbe40918e6f2d7 /src/library/stack.rs | |
| parent | 6e198bf7606847b0847487a4847d6a3ee3621d2d (diff) | |
Proper error messages for shorthands
Diffstat (limited to 'src/library/stack.rs')
| -rw-r--r-- | src/library/stack.rs | 2 |
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()?, })) } } |
