Fix unused_parens warning
for foo in izip!(& vector) {} gives a "unnecessary parentheses
around `for` head expression" warning
@@ -142,7 +142,7 @@ macro_rules! iproduct {
iproduct!(@flatten $crate::cons_tuples(iproduct!($I, $J)), $($K,)*)
);
($I:expr) => (
- (::std::iter::IntoIterator::into_iter($I))
+ ::std::iter::IntoIterator::into_iter($I)
);
($I:expr, $J:expr) => (
$crate::Itertools::cartesian_product(iproduct!($I), iproduct!($J))
@@ -186,7 +186,7 @@ macro_rules! iproduct {
/// ```
macro_rules! izip {
($I:expr) => (
- (::std::iter::IntoIterator::into_iter($I))
+ ::std::iter::IntoIterator::into_iter($I)
);
($($I:expr),*) => (
{
@@ -1713,4 +1713,3 @@ impl<T> FoldWhile<T> {
}
}
}
-
