2023-01-16 11:19:47 -06:00
|
|
|
fn main() {
|
|
|
|
let Some(x) = opt else { return };
|
|
|
|
|
|
|
|
let Some(x) = opt else {
|
|
|
|
return;
|
|
|
|
};
|
|
|
|
|
|
|
|
let Some(x) = opt else {
|
|
|
|
// nope
|
|
|
|
return;
|
|
|
|
};
|
2023-02-12 13:50:44 -06:00
|
|
|
|
|
|
|
let Some(x) = y.foo(
|
|
|
|
"abc",
|
|
|
|
fairly_long_identifier,
|
|
|
|
"def",
|
|
|
|
"123456",
|
|
|
|
"string",
|
|
|
|
"cheese",
|
|
|
|
) else {
|
|
|
|
bar()
|
|
|
|
};
|
|
|
|
|
|
|
|
let Some(x) = abcdef()
|
|
|
|
.foo(
|
|
|
|
"abc",
|
|
|
|
some_really_really_really_long_ident,
|
|
|
|
"ident",
|
|
|
|
"123456",
|
|
|
|
)
|
|
|
|
.bar()
|
|
|
|
.baz()
|
|
|
|
.qux("fffffffffffffffff")
|
|
|
|
else {
|
|
|
|
foo_bar()
|
|
|
|
};
|
2023-01-16 11:19:47 -06:00
|
|
|
}
|