News for hackers. Stuff that matters.
Re:Rust, Lifetimes, and Collections by Jweb_Guru on Saturday November 22, 2014 @08:24AM (#8645503)
Currently, borrows last for block scope, which is why this doesn't work. There is a feature in the making called SEME (single entry, multiple exit) which will resolve this and other annoying borrow hazards. It at least at one point was considered a priority for 1.0.

There are no comments on this comment yet.