When using a normal block as the last argument of a function, formatting is compact:
let _ = qux(x, {
foo();
bar();
});
But not for try blocks:
let _ = qux(
x,
try {
foo();
bar();
},
);
Ideally, I would expect:
let _ = qux(x, try {
foo();
bar();
});
Is this behavior intended or accidental? If it is intended what's the rationale? And could it be made customizable?
When using a normal block as the last argument of a function, formatting is compact:
But not for try blocks:
Ideally, I would expect:
Is this behavior intended or accidental? If it is intended what's the rationale? And could it be made customizable?