Hacker News new | ask | show | jobs
by steveklabnik 2255 days ago
There are several ways of doing this, yes. Including one provided by the Rust project itself, “rustfix.”
1 comments

Is "rustfix" what is running behind-the-scenes when you run "cargo fix" or is it something distinct?
Yes, cargo fix just runs rustfix on all the files in your project and passes the same flags cargo does to rustc. (Similarly, cargo fmt runs rustfmt on all the files in your project.)
Yes, it is.
yes, cargo fix uses rustfix