rust/tests/source/configs-struct_lit_multiline_style-prefer_single.rs

8 lines
185 B
Rust
Raw Normal View History

// rustfmt-struct_lit_multiline_style: PreferSingle
// rustfmt-struct_lit_width: 100
// Struct literal multiline-style
fn main() {
let lorem = Lorem { ipsum: dolor, sit: amet };
}