diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-07-26 17:28:43 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-07-26 17:28:43 +0200 |
| commit | e2ef4f64e777f293a0408d0f60cfed9de69c7bb6 (patch) | |
| tree | 616ae4474f0dec5cc70fe3fa46b5f3c4b305a1be /src/library/mod.rs | |
| parent | 0e8c2cad6e4fee283f8f2d6fb9a571173b59fda2 (diff) | |
Rename errors to problems and make error! macro more ergonomic 🧼
Also adds a `warning!` macro.
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index 08608d05..c8ca374d 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -59,7 +59,7 @@ function! { ValFunc { body: body!(opt: body, ctx, f) } } - layout(self, ctx, errors) { + layout(self, ctx, f) { match &self.body { Some(model) => vec![LayoutSyntaxModel(model)], None => vec![], |
