mozilla/rust — pull request #7414 by gifnksm (2013-06-26 22:00:51+00:00)
Title: iterator: Add `IteratorUtil::max_by/min_by` method

`max_by` method returns the element that gives the maximum value from the specfied function.
`max_by`/`min_by` are convenient when you want to get the value which has greatest/smallest scores.