diff --git a/src/args/arg_matches.rs b/src/args/arg_matches.rs index b20d490d7ec..12364fdc42b 100644 --- a/src/args/arg_matches.rs +++ b/src/args/arg_matches.rs @@ -568,6 +568,8 @@ impl<'a> DoubleEndedIterator for Values<'a> { fn next_back(&mut self) -> Option<&'a str> { self.iter.next_back() } } +impl<'a> ExactSizeIterator for Values<'a> {} + /// An iterator over the key-value pairs of a map. #[derive(Clone)] pub struct Iter<'a, V: 'a> {