rust/tests/source/configs/use_small_heuristics/off.rs

26 lines
395 B
Rust
Raw Normal View History

2020-02-22 23:05:58 -06:00
// rustfmt-use_small_heuristics: Off
enum Lorem {
Ipsum,
Dolor(bool),
Sit {
amet: Consectetur,
adipiscing: Elit,
},
}
fn main() {
lorem("lorem", "ipsum", "dolor", "sit", "amet", "consectetur", "adipiscing");
let lorem = Lorem {
ipsum: dolor,
sit: amet,
};
let lorem = if ipsum {
dolor
} else {
sit
};
}