On 11/07/2012 9:34 PM, Sebastian Sylvan wrote:
The hello world example on the website no longer compiles. This is the only way I could make it compile: for (&[1,2,3]).each |i| { println(#fmt("hello, %d", i)); }Is that right? That parenthesis around the vector literal is a bit unfortunate. I couldn't get rid of the ampersand because it would fail to compile with a "deprecated vec expr" error.
Curious; is &[ not binding "really tight"? Like .. in the parser? I thought we agreed it sort of had to be that way.
-Graydon _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
