rust/tests/target/configs-fn_single_line-true.rs
2017-05-01 15:58:04 +02:00

10 lines
160 B
Rust

// rustfmt-fn_single_line: true
// Single-expression function on single line
fn lorem() -> usize { 42 }
fn lorem() -> usize {
let ipsum = 42;
ipsum
}