On 2/22/13 9:44 AM, Martin DeMello wrote:
On Thu, Feb 21, 2013 at 10:54 PM, Patrick Walton <[email protected]> wrote:
(4) `with_mut_ref<R>(&self, &fn(&mut T) -> R) -> R`: yields a mutable
reference to the interior of the cell, failing if the cell is empty or is
borrowed immutably;
Does this mean you can borrow two mutable references to a cell's contents?
No. Good catch :)
Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev