rust/tests/source/configs/use_try_shorthand/false.rs

7 lines
127 B
Rust
Raw Normal View History

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