ron-rs/ron

PrettyPrint add struct compact

Closed this issue · 1 comments

Configures array of structs should be a single line for each struct. Thanks.

juntyr commented

Ok, so far we have compact_arrays which ensures that there are no line breaks between elements, and separate_tuple_members which adds line breaks between tuple elements (perhaps this option should be renamed to the opposite compact_tuples to be more consistent).

You want to also add compact_structs which ensures that there are no line breaks between fields? If I understood you correctly @trapalleiro-git, this is definitely something I can have a look at in a few days.