mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
12 lines
274 B
Rust
12 lines
274 B
Rust
// rustfmt-attributes_on_same_line_as_variant: false
|
|
// Option to place attributes on the same line as variants where possible
|
|
|
|
enum Lorem {
|
|
#[ serde(skip_serializing) ]
|
|
Ipsum,
|
|
#[ serde(skip_serializing) ]
|
|
Dolor,
|
|
#[ serde(skip_serializing) ]
|
|
Amet,
|
|
}
|