Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are several ways of doing this, yes. Including one provided by the Rust project itself, “rustfix.”


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: