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

12 lines
164 B
Rust

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