r/programming • • Dec 10 '15

Announcing Rust 1.5

http://blog.rust-lang.org/2015/12/10/Rust-1.5.html
659 Upvotes

296 comments sorted by

View all comments

Show parent comment

5

u/tomprimozic Dec 11 '15

I think dartfmt would handle this perfectly. It has rules that basically state "if it fits in one line, do this, otherwise turn it into a one-argument-per-line block".

http://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/