rust/tests/source/configs/fn_single_line/true.rs
2018-03-02 15:07:13 +13: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
}