rust/tests
Kamal Marhubi 9fa5a91fc5 visitor: Handle specified line ranges in visit_stmt
This commit adds a very rough implementation of handling the specified
line ranges in `config.file_lines_map` for statements. It reformats a
statement if its span is fully contained in the set of lines specified
for the file.

The implementation here is intended as a proof of concept, and
demonstration that the machinery added in the preceding commits is
functional. A final implementation would likely hook in via the
`Rewrite` trait.

Refs #434
2016-05-31 01:33:11 +02:00
..
config Format non-statement if-else expressions on a single line 2016-05-29 17:58:38 +02:00
coverage simplify tests 2016-04-05 02:45:39 +03:00
source visitor: Handle specified line ranges in visit_stmt 2016-05-31 01:33:11 +02:00
target visitor: Handle specified line ranges in visit_stmt 2016-05-31 01:33:11 +02:00
writemode simplify tests 2016-04-05 02:45:39 +03:00
system.rs Write each file as it is formatted (#991) 2016-05-15 11:41:05 +02:00