News for hackers. Stuff that matters.
Re:Such a Little Thing: The Semicolon in Rust by kibwen on Friday October 19, 2012 @08:54AM (#4673280)
Normally in Rust you'd never use a trait like that without bringing it into the local namespace, so you wouldn't need to qualify it with its module like Armin does. And in future versions of Rust, Num will inherit from both the Eq and Copy traits, so the signature would instead look like this:

  fn find_even<T: Num>(vec: &[T]) -> Option<T> {

There are no comments on this comment yet.