diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-17 16:18:36 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-17 16:18:36 +0100 |
| commit | dd246e5bc944f90be7ba2981c2b73520a4bfbf45 (patch) | |
| tree | 0fee09e170431ba88501ee165743a4d7010e6a84 /src/parse/collection.rs | |
| parent | 29be90bf95f2ea10c435e7b02f8c26626b956417 (diff) | |
Spans for group and block contents 📐
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 ca05b998..9addcef0 100644 --- a/src/parse/collection.rs +++ b/src/parse/collection.rs @@ -93,7 +93,7 @@ impl State { fn into_expr(self) -> Expr { match self { Self::Unknown => Expr::Array(vec![]), - Self::Expr(expr) => Expr::Group(Box::new(expr.v)), + Self::Expr(expr) => Expr::Group(Box::new(expr)), Self::Array(array) => Expr::Array(array), Self::Dict(dict) => Expr::Dict(dict), } |
