summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-04 23:31:35 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-04 23:31:35 +0200
commit335fa2d118718b4dba539294a8ef6c96c5bbf09e (patch)
tree08e48d0c18c350bc9479d0d801d2320628d8e4a2 /src/parse
parent605ab104c5e041c345007020d277b4c6267debe6 (diff)
Small improvements 🍪
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/tests.rs b/src/parse/tests.rs
index 108b4b29..644b7f16 100644
--- a/src/parse/tests.rs
+++ b/src/parse/tests.rs
@@ -89,6 +89,7 @@ macro_rules! Call {
}};
($($tts:tt)*) => { Expr::Call(Call![@$($tts)*]) };
}
+
fn Unary(op: impl Into<Spanned<UnOp>>, expr: impl Into<Spanned<Expr>>) -> Expr {
Expr::Unary(ExprUnary {
op: op.into(),