rust/tests/target/configs/fn_args_density/vertical.rs

43 lines
715 B
Rust
Raw Normal View History

// rustfmt-fn_args_density: Vertical
// Function arguments density
trait Lorem {
2017-06-11 23:01:41 -05:00
fn lorem(
ipsum: Ipsum,
dolor: Dolor,
sit: Sit,
amet: Amet,
);
2017-06-11 23:01:41 -05:00
fn lorem(
ipsum: Ipsum,
dolor: Dolor,
sit: Sit,
amet: Amet,
) {
// body
}
2017-06-11 23:01:41 -05:00
fn lorem(
ipsum: Ipsum,
dolor: Dolor,
sit: Sit,
amet: Amet,
consectetur: onsectetur,
adipiscing: Adipiscing,
elit: Elit,
);
2017-06-11 23:01:41 -05:00
fn lorem(
ipsum: Ipsum,
dolor: Dolor,
sit: Sit,
amet: Amet,
consectetur: onsectetur,
adipiscing: Adipiscing,
elit: Elit,
) {
// body
}
}