rust/tests/source/configs-use_try_shorthand-true.rs
2017-05-01 15:58:04 +02:00

7 lines
126 B
Rust

// rustfmt-use_try_shorthand: true
// Use try! shorthand
fn main() {
let lorem = try!(ipsum.map(|dolor| dolor.sit()));
}