6939e21f43
This was done by running the following. ```sh for f in `find . -name "configs-*.rs"`; do topdir=`echo $f | cut -d/ -f2`; configname=`echo $f | cut -d/ -f3 | cut -d- -f2`; testname=`echo $f | cut -d/ -f3 | cut -d- -f3`; mkdir -p $topdir/configs/$configname; git mv $f $topdir/configs/$configname/$testname; done ```
25 lines
448 B
Rust
25 lines
448 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
|
|
}
|