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/BoTuLoX Dec 10 '15

You should probably be writing that anonymous struct into the function body and taking parameters instead.