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 392e444 commit fe1393cCopy full SHA for fe1393c
runtime/queries/rust/highlights.scm
@@ -88,9 +88,14 @@
88
((type_arguments (type_identifier) @constant)
89
(#match? @constant "^[A-Z_]+$"))
90
(type_arguments (type_identifier) @type)
91
+; `_` in `(_, _)`
92
(tuple_struct_pattern "_" @comment.unused)
93
+; `_` in `Vec<_>`
94
((type_arguments (type_identifier) @comment.unused)
95
(#eq? @comment.unused "_"))
96
+; `_` in `Rc<[_]>`
97
+((array_type (type_identifier) @comment.unused)
98
+ (#eq? @comment.unused "_"))
99
100
; ---
101
; Primitives
0 commit comments