News for hackers. Stuff that matters.
Re:New for loops in Rust by frewsxcv on Friday April 06, 2012 @04:13AM (#3806390)
Seems a bit...overly complex.

Also, what is the appeal to '::' instead of just '.'

Kill the semicolons with fire

Re:New for loops in Rust by zeugma on Friday April 06, 2012 @05:47AM (#3806535)
Rust is inspired by C++ which use '::' to access names inside a namespace, here 'vec' and io are module/namespace not object, it's a static lookup.

'.' is still used for object lookup which is dynamic.