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 ```
19 lines
269 B
Rust
19 lines
269 B
Rust
// rustfmt-control_brace_style: AlwaysNextLine
|
|
// Control brace style
|
|
|
|
fn main() {
|
|
if lorem
|
|
{
|
|
println!("ipsum!");
|
|
}
|
|
else
|
|
{
|
|
println!("dolor!");
|
|
}
|
|
match magi
|
|
{
|
|
Homura => "Akemi",
|
|
Madoka => "Kaname",
|
|
}
|
|
}
|