rust/tests/target/configs-use_try_shorthand-true.rs

7 lines
121 B
Rust
Raw Normal View History

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