Diffstat (limited to 'src/parser.rs')
| -rw-r--r-- | src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs index 721eaac..e81d5a0 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -43,7 +43,7 @@ pub fn top<'s>() -> parser![Spanned<Λ<'s>>] { Expr::parse() .repeated() .collect() - .map(Λ) + .map(Λ::of) .map_with(spanned!()) } |