Function itertools::free::max
[−]
[src]
pub fn max<I>(iterable: I) -> Option<I::Item> where I: IntoIterator, I::Item: Ord
Return the maximum value of the iterable.
IntoIterator
enabled version of i.max()
.
use itertools::free::max; assert_eq!(max(0..10), Some(9));Run