This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
39a91ba292
rust
/
tests
/
config
/
issue-1124.toml
3 lines
49 B
TOML
Raw
Normal View
History
Unescape
Escape
Fix issue 1124 - detect start of output rather than start of input file when writing output source file (#1133) * Change required to prevent a trailing space at the end of a separate module being propagated * Detect the start of the output file rather than the start of the input file when deciding whether to output preceding snippets - this stops unnecessary whitespace and blank lines from being inserted when spans and statements are output in an order other than that from the input file. * Add code to prevent space from being added with the prefix snippet if a) the snippet is entirely horizontal whitespace, or b) the snippet contains whitespace followed by a newline. This prevents trailing spaces at the end of a line from being added. * Tests for this issue * Tidy up `match` statements * Add test with blank lines between `use` statements
2016-08-24 15:32:04 -05:00
reorder_imports
=
true
Add a more lightweight method for rewriting comments when we are not normalising Fixes #652
2017-01-15 22:58:51 -06:00
normalize_comments
=
true
Reference in New Issue
Copy Permalink