On 11/06/14 23:27, SiegeLord wrote:
Aside from somewhat more complicated impl's, are there any downsides to never using anything but by value 'self' in traits?
Currently trait objects do not support `self` methods (#10672), and, generally, the interactions with trait objects seem peculiar, e.g. if you've implemented Trait for &Type, then you would want to be coercing a `&Type` to a `&Trait`, *not* a `&(&Type)` as is currently required.
However, I don't think these concerns affect the operator overloading traits.
https://github.com/mozilla/rust/issues/10672 Huon _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev