pub fn min<I>(iterable: I) -> Option<I::Item>
Expand description
Return the minimum value of the iterable.
IntoIterator
enabled version of Iterator::min
.
use itertools::min;
assert_eq!(min(0..10), Some(0));
pub fn min<I>(iterable: I) -> Option<I::Item>
Return the minimum value of the iterable.
IntoIterator
enabled version of Iterator::min
.
use itertools::min;
assert_eq!(min(0..10), Some(0));