On Mon, Sep 9, 2013 at 6:20 PM, Nick Cameron <li...@ncameron.org> wrote:

>
> Separately, I remember that the various pointer types can be implicitly
> converted. I couldn't find anywhere where these conversions are defined. Is
> my memory bad or my search skills?
>

You can implicitly borrow a pointer's referent by assigning the pointer to
a compatible borrowed-pointer-typed variable / function argument. There be
dragons in the manual, though.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to