On 07/27/2015 01:29 AM, Walter Bright wrote:
On 7/26/2015 3:44 PM, deadalnix wrote:or template code (which will blow up at instanciation time, or worse, do random shit).Um, all Rust traits do is test for a method signature match, so it compiles. It is NOT a defense against a random method that just happens to match and does some other unrelated random shit.
You are describing Go interfaces, not Rust traits.
