rust/tests/target/configs/fn_args_density/compressed.rs
2018-03-02 15:07:13 +13:00

23 lines
559 B
Rust

// rustfmt-fn_args_density: Compressed
// Function arguments density
trait Lorem {
fn lorem(ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet);
fn lorem(ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet) {
// body
}
fn lorem(
ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet, consectetur: onsectetur,
adipiscing: Adipiscing, elit: Elit,
);
fn lorem(
ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet, consectetur: onsectetur,
adipiscing: Adipiscing, elit: Elit,
) {
// body
}
}