[rust-dev] Newbie questions about memory management

Patrick Walton pwalton at mozilla.com
Sun Dec 30 12:58:47 PST 2012


On 12/30/12 12:56 PM, Lucian Branescu wrote:
> Would it be possible to have a more general mechanism for creating and
> relinquishing objects? The rvalue trick seems obscure and only
> situationally useful.

Broadly speaking, that's what "move" is for. Did you want something 
beyond that?

Patrick



More information about the Rust-dev mailing list