cargo install deindentor
deindentor <INPUT-FILE> <OUTPUT-FILE>
rust
fn foo(){
if true {
println!("true");
} else {
println!("false");
}
}
rust
fn foo(){
if true {
println!("true");
} else {
println!("false");
}
}