rust/tests/source/try-conversion.rs
2016-05-12 21:15:06 +02:00

12 lines
221 B
Rust

// rustfmt-use_try_shorthand: true
fn main() {
let x = try!(some_expr());
let y = try!(a.very.loooooooooooooooooooooooooooooooooooooong().chain().inside().weeeeeeeeeeeeeee()).test().0.x;
}
fn test() {
a?
}