Rust mode
x
1
// Demo code.
2
3
type foo<T> = i32;
4
enum bar {
5
Some(i32, foo<f32>),
6
None
7
}
8
9
fn check_crate(x: i32) {
10
let v = 10;
11
match foo {
12
1 ... 3 {
13
print_foo();
14
if x {
15
blah().to_string();
16
}
17
}
18
(x, y) { "bye" }
19
_ { "hi" }
20
}
21
}
22
MIME types defined: text/x-rustsrc
.