PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-pass/alt-bot.rs

http://github.com/jruderman/rust
Rust | 6 lines | 5 code | 1 blank | 0 comment | 0 complexity | ac6ecee07652ced3fcaaccefbe9d4846 MD5 | raw file
1
2fn main() {
3    let i: int =
4        match some::<int>(3) { none::<int> => { fail } some::<int>(_) => { 5 } };
5    log(debug, i);
6}