@willbooster/tree-sitter-rust 1.1.11 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/grammar.js CHANGED
@@ -1107,7 +1107,8 @@ module.exports = grammar({
1107
1107
  )
1108
1108
  ),
1109
1109
 
1110
- closure_parameters: ($) => seq('|', sepBy(',', choice($._pattern, $.parameter)), '|'),
1110
+ closure_parameters: ($) =>
1111
+ seq('|', optional(seq(sepBy1(',', choice($._pattern, $.parameter)), optional(','))), '|'),
1111
1112
 
1112
1113
  label: ($) => seq("'", $.identifier),
1113
1114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-rust",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "Rust grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
Binary file
package/tree-sitter.json CHANGED
@@ -22,7 +22,7 @@
22
22
  }
23
23
  ],
24
24
  "metadata": {
25
- "version": "1.1.11",
25
+ "version": "1.1.12",
26
26
  "license": "MIT",
27
27
  "description": "Rust grammar for tree-sitter",
28
28
  "authors": [