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 adc8c5d commit f34bf43Copy full SHA for f34bf43
RustEnhanced.sublime-syntax
@@ -446,6 +446,7 @@ contexts:
446
pop: true
447
448
type-any-identifier:
449
+ - include: comments
450
- include: support-type
451
- include: return-type
452
- match: '&'
syntax_test_rust.rs
@@ -1097,4 +1097,11 @@ where
1097
T: AsRef<str>;
1098
//^^^^^^^^^^^^^^^ meta.struct
1099
// ^^^ meta.struct meta.where storage.type
1100
-// ^ punctuation.terminator
+// ^ punctuation.terminator
1101
+
1102
+fn foo<F: FnMut(i32, i32 /*asd*/) -> i32>(f: F) {
1103
+// ^^^^^^^ meta.generic comment
1104
+ let lam = |time: i32 /* comment */, other: i32| {
1105
+// ^^^^^^^^^^^^^ meta.function.parameters comment
1106
+ };
1107
+}
0 commit comments