Back to Opencart

CodeMirror

upload/assets/codemirror/mode/rust/index.html

4.1.0.3259 B
Original Source

Rust mode

// Demo code. type foo = i32; enum bar { Some(i32, foo), None } fn check_crate(x: i32) { let v = 10; match foo { 1 ... 3 { print_foo(); if x { blah().to_string(); } } (x, y) { "bye" } _ { "hi" } } }

MIME types defined: text/x-rustsrc.