rust/tests/pretty/fn-return.rs
2023-01-11 09:32:08 +00:00

8 lines
107 B
Rust

// pp-exact
// Check that `fn f() -> () {}` does not print as `fn f() {}`.
fn f() -> () {}
fn main() {}