| commit | c351dc40cd4a6504a19c6d4c79293d3329ebbea1 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Tue Nov 24 20:45:13 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Tue Nov 24 21:17:06 2020 -0800 |
| tree | b8a80968fc51e9151134263883056e9af8eba577 | |
| parent | f22fb65fcfd7a08176c9d4a985838d81a0fdbe6d [diff] [blame] |
Preserve lit token of array length
diff --git a/syntax/tokens.rs b/syntax/tokens.rs index 27c2693..30a63d8 100644 --- a/syntax/tokens.rs +++ b/syntax/tokens.rs
@@ -74,7 +74,7 @@ self.bracket.surround(tokens, |tokens| { self.inner.to_tokens(tokens); self.semi_token.to_tokens(tokens); - self.len.to_tokens(tokens); + self.len_token.to_tokens(tokens); }); } }