8219d15291
The closing parenthesis for the arg list was written on a new line without first applying the appropriate indent.
47 lines
589 B
Rust
47 lines
589 B
Rust
// rustfmt-fn_args_layout: Block
|
|
|
|
|
|
fn foo(
|
|
a: Aaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbb
|
|
) {
|
|
foo();
|
|
}
|
|
|
|
fn bar(
|
|
a: Aaaaaaaaaaaaaa,
|
|
b: Bbbbbbbbbbbbbb,
|
|
c: Cccccccccccccccccc,
|
|
d: Dddddddddddddddd,
|
|
e: Eeeeeeeeeeeeeee
|
|
) {
|
|
bar();
|
|
}
|
|
|
|
fn foo(
|
|
a: Aaaaaaaaaaaaaa, b: Bbbbbbbbbbbbbb
|
|
) -> String {
|
|
foo();
|
|
}
|
|
|
|
fn bar(
|
|
a: Aaaaaaaaaaaaaa,
|
|
b: Bbbbbbbbbbbbbb,
|
|
c: Cccccccccccccccccc,
|
|
d: Dddddddddddddddd,
|
|
e: Eeeeeeeeeeeeeee
|
|
) -> String {
|
|
bar();
|
|
}
|
|
|
|
trait Test {
|
|
fn foo(
|
|
a: u8
|
|
) {
|
|
}
|
|
|
|
fn bar(
|
|
a: u8
|
|
) -> String {
|
|
}
|
|
}
|