rust/tests/target/async_block.rs
Benjamin Brittain 46b241004d fix nits
2018-07-29 17:20:21 -07:00

16 lines
221 B
Rust

// rustfmt-edition: Edition2018
fn main() {
let x = async { Ok(()) };
}
fn baz() {
// test
let x = async {
// async blocks are great
Ok(())
};
let y = async { Ok(()) }; // comment
}