rust/tests/target/configs-where_single_line.rs
Seiichi Uchida 39a304f529 Update tests
2017-12-05 17:16:04 +09:00

29 lines
456 B
Rust

// rustfmt-where_single_line: true
// Where style
fn lorem_two_items<Ipsum, Dolor, Sit, Amet>() -> T
where
Ipsum: Eq,
Lorem: Eq,
{
// body
}
fn lorem_multi_line<Ipsum, Dolor, Sit, Amet>(
a: Aaaaaaaaaaaaaaa,
b: Bbbbbbbbbbbbbbbb,
c: Ccccccccccccccccc,
d: Ddddddddddddddddddddddddd,
e: Eeeeeeeeeeeeeeeeeee,
) -> T
where
Ipsum: Eq,
{
// body
}
fn lorem<Ipsum, Dolor, Sit, Amet>() -> T
where Ipsum: Eq {
// body
}