☰
Debian Codegraph
@
25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2.1
25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2
25.07.1+20260624+ds+~0.3.3+ds+~0.4.0+20260607+ds-4
/
/
tests
/
query
/
highlights
/
rust
/
match_patterns.rs
☽
☼
tests/query/highlights/rust/match_patterns.rs
code
plain
raw
symbols
SCIP
MPL-2.0
Blaž Hrastnik <
[email protected]
>
debian/copyright
1
fn
m
(
x
:
Shape
) {
2
match
x {
3
crate
::
Shape
::
Circle
(r) => r,
4
// ^ @type
5
// ^ @type.enum.variant
6
geom::
Style
::
Bold
{ weight } => weight,
7
// ^ @type
8
// ^ @type.enum.variant
9
// ^ @variable.other.member
10
Flag
::
MAX
=>
0
,
11
// ^ @type
12
// ^ @constant
13
_ =>
1
,
14
};
15
}