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

I certainly would support rustfmt turning those redundant forms into the simpler one.




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



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

Search: