Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
steveklabnik
on April 9, 2020
|
parent
|
context
|
favorite
| on:
I can't keep up with idiomatic Rust
There are several ways of doing this, yes. Including one provided by the Rust project itself, “rustfix.”
eindiran
on April 9, 2020
[–]
Is "rustfix" what is running behind-the-scenes when you run "cargo fix" or is it something distinct?
JoshTriplett
on April 9, 2020
|
parent
|
next
[–]
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.)
steveklabnik
on April 9, 2020
|
parent
|
prev
|
next
[–]
Yes, it is.
Ar-Curunir
on April 9, 2020
|
parent
|
prev
[–]
yes, cargo fix uses rustfix
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: