]> git.lizzy.rs Git - rust.git/commit
Implements struct_lit_force_multiline
authorChristoph Burgdorf <christoph.burgdorf@bvsn.org>
Fri, 4 Sep 2015 23:31:39 +0000 (01:31 +0200)
committerChristoph Burgdorf <christoph.burgdorf@bvsn.org>
Mon, 7 Sep 2015 23:25:44 +0000 (01:25 +0200)
commit33c5776d30723e68d40a84dca57f7895feadb1c4
tree19f0ed9adb654fb2fd9fd353badd860dfb07c573
parentc838b00d540d6e85b7a4ead656ff37d8b9e641cc
Implements struct_lit_force_multiline

With struct_lit_force_multiline set to true
rustfmt won't ever mangle multiple struct properties
into one line.

Fixes #253
src/config.rs
src/expr.rs
tests/source/struct_lits_multiline.rs [new file with mode: 0644]
tests/source/struct_lits_visual_multiline.rs [new file with mode: 0644]
tests/target/struct_lits_multiline.rs [new file with mode: 0644]
tests/target/struct_lits_visual_multiline.rs [new file with mode: 0644]