News for hackers. Stuff that matters.
Re:A 30 minute introduction to Rust by eridius on Monday January 13, 2014 @01:55PM (#7052534)
You're not letting anything escape. You're copying `nums` and then mutating your copy. And this only works because `nums` can be implicitly copied like this. If you changed it from `[int, ..3]` to `~[int]` you'd get a compiler error (as `~[T]` cannot be implicitly copied).

There are no comments on this comment yet.