We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/**/
1 parent 0a715cf commit 22dbbd1Copy full SHA for 22dbbd1
editors/code/rust.tmGrammar.json
@@ -307,9 +307,14 @@
307
"block-comments": {
308
"patterns": [
309
{
310
- "comment": "block comments",
+ "comment": "empty block comments",
311
"name": "comment.block.rust",
312
- "begin": "/\\*(?!\\*)",
+ "match": "/\\*\\*/"
313
+ },
314
+ {
315
+ "comment": "block documentation comments",
316
+ "name": "comment.block.documentation.rust",
317
+ "begin": "/\\*\\*",
318
"end": "\\*/",
319
320
@@ -318,9 +323,9 @@
323
]
324
},
325
321
- "comment": "block documentation comments",
322
- "name": "comment.block.documentation.rust",
- "begin": "/\\*\\*",
326
+ "comment": "block comments",
327
+ "name": "comment.block.rust",
328
+ "begin": "/\\*(?!\\*)",
329
330
331
0 commit comments