Crate of the Week

Self-nominating cargo-unfmt, which takes inconsistent code like this:

fn main() {
    let mut a = 0;
    let mut b = 1;
    for _ in 0..5 {
        let tmp = a;
        a = b;
        b = tmp + b
    }
    println!("{a}");
}

and produces pristine blocks like this:

fn main(){();let
mut a=0;;let mut
b=1;3;for _ in 0
..5{;let tmp=a;a
=b;();b=tmp+b}3;
println! ("{a}")
;if let _=(){};}
14 Likes