On Thu, Jan 2, 2014 at 1:06 AM, Vadim <[email protected]> wrote:
>
> And let's not forget about the heap-allocated objects, which start out as 
> pointers in the first place.

Unique pointers have value semantics so this shouldn't be relevant to
the visibility of mutation. The consensus is already to remove the
auto-coercion of `~T` to `&mut T` because it doesn't make any sense.
The auto-coercion to `&T` will probably either be removed or extended
to `T` too, but that hasn't been decided (or discussed much).
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to