On Tue, Mar 25, 2014 at 8:29 PM, Nick Cameron <[email protected]> wrote:
> I made an RFC - https://github.com/rust-lang/rfcs/pull/20

In my half-baked opinion, it's nice to put bounds on a struct rather
than its impl(s), so that nonsensical specializations cannot be
created, rather than being creatable but having no methods due to
failing the impl bound.  But it's ugly to have to write the bounds
twice.  Is there a reasonable way to have the bounds be implied on the
impl?
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to