@willbooster/tree-sitter-rust 1.1.11 → 1.1.13
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 +3 -2
- package/package.json +1 -1
- package/tree-sitter-rust.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -614,7 +614,7 @@ module.exports = grammar({
|
|
|
614
614
|
'(',
|
|
615
615
|
sepBy(
|
|
616
616
|
',',
|
|
617
|
-
seq(
|
|
617
|
+
seq(repeat($.attribute_item), choice($.parameter, $.self_parameter, $.variadic_parameter, '_', $._type))
|
|
618
618
|
),
|
|
619
619
|
optional(','),
|
|
620
620
|
')'
|
|
@@ -1107,7 +1107,8 @@ module.exports = grammar({
|
|
|
1107
1107
|
)
|
|
1108
1108
|
),
|
|
1109
1109
|
|
|
1110
|
-
closure_parameters: ($) =>
|
|
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
package/tree-sitter-rust.wasm
CHANGED
|
Binary file
|