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
Oh yeah this is a problem, thanks for the report. It also relates to #43 since allowing files to end without trailing newline would increase the chance of people running in to this.
Let's say you have a file with a dependencies block at the end of it
With no newline at the end.
If you then run
cargo-sort-ck -w
it turns it into the following:Which in turn breaks the TOML
The text was updated successfully, but these errors were encountered: