rust/tests
Jon Gjengset f96e56c3a0 Avoid extra comma in vertical single-field struct patterns (#1403)
* Add (failing) test for #1397

* Fix for #1397

Specifically, we end up double-adding a trailing comma for single-member
struct patterns that are arranged vertically. One is added by write_list
(since such structs return true for needs_trailing_separator), and
another is added by the if in the old code.
2017-03-26 18:16:45 +13:00
..
config Unify a bunch of option types into IndentStyle 2017-03-20 11:46:39 +13:00
coverage simplify tests 2016-04-05 02:45:39 +03:00
source Test and source fallout 2017-03-22 09:25:26 +13:00
target Avoid extra comma in vertical single-field struct patterns (#1403) 2017-03-26 18:16:45 +13:00
writemode simplify tests 2016-04-05 02:45:39 +03:00
system.rs Formatting fallout 2017-03-07 09:50:41 +13:00