rust/tests
Gaëtan Cassiers 9f98f725cb Detect when comments disappear
When the reformatted code doesn't contain the same quantity of comments
as the original code, use the original code instead of the reformatted
code.
This is done for all expressions and `let` statements.

This should be used at the finest grained level possible, to avoid that
a small disappearing comment prevents a big chunk of code to be
reformatted.

Kind of fixes (avoid disappearing comments, but prevents a good
formatting is such case) #285 #225 #563 #743
2016-01-10 15:20:58 +01:00
..
config Use max width for function decls, etc. 2015-09-27 19:34:35 +13:00
coverage-source tests for coverage mode 2015-10-24 15:22:45 +05:30
coverage-target tests for coverage mode 2015-10-24 15:22:45 +05:30
source Detect when comments disappear 2016-01-10 15:20:58 +01:00
target Detect when comments disappear 2016-01-10 15:20:58 +01:00
system.rs Add tests for #606. 2015-12-28 17:23:34 +05:30