2 ms·
'cargo fix' will upgrade your code from one Rust edition to the next as well as apply corrections for lint warnings.
by jamincan 5y ago
'cargo fix' will upgrade your code from one Rust edition to the next as well as apply corrections for lint warnings.
- ainar-g 5y agocargo fix is closer to (and possibly inspired by?) go fix[1], imo. [1]: https://pkg.go.dev/cmd/go#hdr-Update_packages_to_use_new_APIs https://pkg.go.dev/cmd/go#hdr-Update_packages_to_use_new_API...