1 // rustfmt-fn_single_line: true
2 // Test single-line functions.
16 fn foo_decl_item(x: &mut i32) {
24 fn foo_return() -> String {
28 fn foo_where() -> T where T: Sync {
38 fn fooblock2(x: i32) {
45 // this is a test comment
59 fn aaaaaaaaaaaaaaaaa_looooooooooooooooooooooong_name() {
60 let z = "aaaaaaawwwwwwwwwwwwwwwwwwwwwwwwwwww";
67 fn mac() -> Vec<i32> { vec![] }
74 trait CoolerTypes { fn dummy(&self) {
78 fn Foo<T>() where T: Bar {