On Tue, Sep 17, 2013 at 12:08 PM, Daniel Micay <danielmi...@gmail.com> wrote: > In addition to what others have mentioned, explicit bounds allow generics to > be type-checked from the definition, rather than each instantiation. You > know that *any* set of type parameters fulfilling the bounds listed in the > API will compile. It's an enforced minimal level of documentation and > results in very clean error messages. >
As well as faster compilation: you only need to typecheck once. _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev