2 ms·
Well I mean if you want to cheat with iterator adaptors you can just use min_by: http://doc.rust-lang.org/std/iter/trait.IteratorExt.html#tymethod.min_by http:/
by Gankro 12y ago
Well I mean if you want to cheat with iterator adaptors you can just use min_by: http://doc.rust-lang.org/std/iter/trait.IteratorExt.html#tymethod.min_by http://doc.rust-lang.org/std/iter/trait.IteratorExt.html#tym...
:P
(shhh I was tired and trying to come up with a simple but moderate complexity example)