rustfmt-nightly 1.0.2

Tool to find and fix Rust formatting issues
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// rustfmt-edition: 2018

fn main() {
    let x = async { Ok(()) };
}

fn baz() {
    // test
    let x = async {
        // async blocks are great
        Ok(())
    };

    let y = async { Ok(()) }; // comment
}