-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
C-bugCategory: bugCategory: bug
Description
Problem
I updated my toolchain (and unfortunately I don't know what the previous version was) and with the latest cargo every time it touches the Cargo.lock it adds 2 new-lines at the end of the file. (Just to be clear: it does not append 2 new-lines every time but the end result of the generation is 2 new-lines at the end of the file.)
The expectation is to have a single new-line at the end of the file.
Steps
- Delete
Cargo.lockand possibly thetargetfolder - Run
cargo build|run|testcommands - Inspect
Cargo.lock
Notes
Output of cargo version: cargo 1.38.0 (23ef9a4ef 2019-08-20) but the same happens with cargo 1.40.0-nightly (3a9abe3f0 2019-10-15) as well
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bug