On Sat, Jul 6, 2013 at 1:43 AM, Patrick Walton <pwal...@mozilla.com> wrote:
> On 7/5/13 10:42 PM, Ashish Myles wrote:
>>
>> And an additional question.
>> 3. What is the rationale in having both Copy and Clone?  Can one
>> provide an exhaustive list for where one would want to use Copy
>> instead of Clone/DeepClone?  I tried to use clone everywhere, but I
>> needed <T : Copy + Zero> to be able to write, for example,
>> [Zero::zero(),.. 3] as in the following code
>
>
> I'm busy removing Copy from the language right now.
>

Ah, thanks, then after your refactor, what trait would T : Zero need
an implementation of to support [Zero::zero(),.. 3]?  Clone?

Ashish
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to