Y
Hacker News
new
|
ask
|
show
|
jobs
by
steveklabnik
206 days ago
I certainly would support rustfmt turning those redundant forms into the simpler one.
1 comments
estebank
206 days ago
I suspect rustfmt would consider this out of scope, but there should be a more... "adventurous" code formatter that does more opinionated changes. On the other hand, you could write a clippy lint today and rely on rustfix instead
link