mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
12 lines
165 B
Rust
12 lines
165 B
Rust
// rustfmt-fn_single_line: false
|
|
// Single-expression function on single line
|
|
|
|
fn lorem() -> usize {
|
|
42
|
|
}
|
|
|
|
fn lorem() -> usize {
|
|
let ipsum = 42;
|
|
ipsum
|
|
}
|