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/shape.rs | |
| parent | 6e198bf7606847b0847487a4847d6a3ee3621d2d (diff) | |
Proper error messages for shorthands
Diffstat (limited to 'src/library/shape.rs')
| -rw-r--r-- | src/library/shape.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/shape.rs b/src/library/shape.rs index 95e3e288..1eaad11a 100644 --- a/src/library/shape.rs +++ b/src/library/shape.rs @@ -45,7 +45,7 @@ impl<S: ShapeKind> ShapeNode<S> { }; Ok(Template::inline( - ShapeNode { kind: S::default(), child: args.find() } + ShapeNode { kind: S::default(), child: args.find()? } .pack() .sized(Spec::new(width, height)), )) |
