aa4cd311bb
In Rust, colons are used for three purposes: * Type annotations, including type ascription * Trait bounds * Struct literal fields This commit adds options for the last missing of the three purposes, struct literal fields.
7 lines
120 B
XML
7 lines
120 B
XML
// rustfmt-space_before_struct_lit_field_colon: false
|
|
|
|
const LOREM: Lorem = Lorem {
|
|
ipsum: dolor,
|
|
sit: amet,
|
|
};
|