You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Respect --file-lines when making various whitespace-related changes.
Various whitespace-related changes did not so far respect
`--file-lines`, see also [#5136](tests/target/issue-5136-4.rs). This PR
fixes this in all of the cases reported in #5136:
* Newlines at the beginning of the file
* Spaces at the beginning of the file
* Missing newline at the end of the file
* Space after a doc comment
* Space before a comment in the last line of the file (without trailing
newline)
The PR includes tests that fail without the fixes.
0 commit comments