----- Original Message -----
> From: "Graydon Hoare" <[email protected]>
> To: [email protected]
> Sent: Saturday, September 24, 2011 4:45:14 PM
> Subject: Re: [rust-dev] [graydon/rust] 976297: Add tests for swapping unique 
> boxes
> On 24/09/2011 1:02 PM, [email protected] wrote:
> 
> That is, a ~ box containing pinned-kind lowers to shared-kind, not to
> pinned itself. This is to prevent it moving over channels (localizing
> it
> to the current heap) but not prevent swapping pointer-to-resource,
> which
> seems to be the only useful way to make a resource have indefinite
> extent (live as long as a data structure).

After further contemplation, I don't understand how the ability to swap 
pointers to resource is 'the only useful way to make a resource have indefinite 
extent'.

Regards,
Brian
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to