mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
19 lines
274 B
Rust
19 lines
274 B
Rust
// rustfmt-use_try_shorthand: true
|
|
|
|
fn main() {
|
|
let x = some_expr()?;
|
|
|
|
let y = a.very
|
|
.loooooooooooooooooooooooooooooooooooooong()
|
|
.chain()
|
|
.inside()
|
|
.weeeeeeeeeeeeeee()?
|
|
.test()
|
|
.0
|
|
.x;
|
|
}
|
|
|
|
fn test() {
|
|
a?
|
|
}
|