This PR fixes two problems with the current code related to rustfmt:
The Travis config still uses the --write-mode rustfmt command line option which has been replaced with the --check flag in the current version of rustfmt.
The rustfmt check fails with the current version of rustfmt, probably because some format rules were updated recently.
This PR fixes two problems with the current code related to rustfmt:
--write-mode
rustfmt command line option which has been replaced with the--check
flag in the current version of rustfmt.