Y
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
eindiran
2255 days ago
Is "rustfix" what is running behind-the-scenes when you run "cargo fix" or is it something distinct?
link
JoshTriplett
2255 days ago
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.)
link
steveklabnik
2255 days ago
Yes, it is.
link
Ar-Curunir
2255 days ago
yes, cargo fix uses rustfix
link