86007e7d17
There is a choice between block and visual indent for where clauses, plus the single line option. I think these two are too fine-grained to be useful.
28 lines
430 B
Rust
28 lines
430 B
Rust
// rustfmt-indent_style: Block
|
|
// Test different indents.
|
|
|
|
fn qux()
|
|
where
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
{
|
|
baz();
|
|
}
|
|
|
|
fn qux()
|
|
where
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
{
|
|
baz();
|
|
}
|
|
|
|
fn qux(a: Aaaaaaaaaaaaaaaaa)
|
|
where
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
X: TTTTTTTTTTTTTTTTTTTTTTTTTTTT,
|
|
{
|
|
baz();
|
|
}
|