rust/tests/target/try-conversion.rs

19 lines
274 B
Rust
Raw Normal View History

// rustfmt-use_try_shorthand: true
fn main() {
let x = some_expr()?;
let y = a.very
2016-05-12 21:50:43 +02:00
.loooooooooooooooooooooooooooooooooooooong()
.chain()
.inside()
.weeeeeeeeeeeeeee()?
.test()
.0
.x;
}
fn test() {
a?
}