diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-02-17 23:07:28 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-02-18 15:06:00 +0100 |
| commit | 84cdc85ca7494368e7ce2039fcef06ac2d3bd2ed (patch) | |
| tree | 4820cfbd853fd3e98953f3a23aa398f29761ab53 /src/parse/collection.rs | |
| parent | e143fd36efaabfcfb42823fe5f7a25dd6de4a960 (diff) | |
Refresh parser 🌊
Diffstat (limited to 'src/parse/collection.rs')
| -rw-r--r-- | src/parse/collection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/collection.rs b/src/parse/collection.rs index 7ffc4539..ab358f76 100644 --- a/src/parse/collection.rs +++ b/src/parse/collection.rs @@ -4,7 +4,7 @@ use super::*; pub fn args(p: &mut Parser) -> ExprArgs { let start = p.start(); let items = collection(p, vec![]); - ExprArgs { span: p.span_from(start), items } + ExprArgs { span: p.span(start), items } } /// Parse a parenthesized group, which can be either of: |
