Closed Atul9 closed 5 years ago
Hey, thanks!
Just one thing: I'm ok with code reformatting but would prefer if it was applied in a separate PR (unless it is required by the 2018 edition ?!). As it is, it is hard to see what changes were specifically performed for the move to the 2018 edition. Reformatting also impacts the other pending PR because it creates merge conflicts - it would be best to apply it when no other PRs are pending. I'll try to merge my stuff in a few hours to clear the path for reformatting.
@fralalonde should I update this PR to include only these 2 changes -
Ha! I understand, a single command does everything... including the reformat :( Oh well. Let's just merge this as-is then, unless there is a --no-format option.
I will format the code first, then your changes for the rust 2018 should appear in clear.
Sorry I broke your PR, you may reapply --fix
from the now formatted master
branch, the changes should appear way more clearly now in the diff.
It's ok. I have updated the PR.
Good stuff. Thanks!
Run
cargo fmt
to format code Runcargo fix --edition
to update crate for rust 2018 Specify edition to 2018 in Cargo.toml closes #47