Skip to content

Commit 01a228f

Browse files
fix: allow functions without curly brackets
1 parent 245e1b5 commit 01a228f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/rust.tmGrammar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@
462462
"name": "punctuation.brackets.angle.rust"
463463
}
464464
},
465-
"end": "\\{",
465+
"end": "\\{|;",
466466
"endCaptures": {
467467
"0": {
468468
"name": "punctuation.brackets.curly.rust"

0 commit comments

Comments
 (0)