> Something like this will work, yes. It'll probably look more like:
> 
>     Box::new(*x)
> 
> This will be described in some of the RFCs that are coming up soon.

Awesome!

We should really get rid of the ~T syntax in favor of Foo<T> (where Foo = Box, 
Own, Heap, etc.), since it is deceptively simple for something that should in 
fact be rarely used.

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

Reply via email to