Benjamin Striegel wrote:

I heavily prefer using + to wrapping in parens. That said, what does ::Eq even mean? Is it possible to avert all this discussion by changing ::Eq to ..Eq or something? I've never seen this syntax used before.

FWIW the only two directly comparable scenarios I can think of are Java and Scala. Java uses `&` for this same purpose and (presumably) for this same reason. Scala uses `with`. I'd be fine with `+` or `&`.


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

Reply via email to