diff --git a/matching/src/matchings.rs b/matching/src/matchings.rs index 840f98d..eb78533 100644 --- a/matching/src/matchings.rs +++ b/matching/src/matchings.rs @@ -32,7 +32,6 @@ impl<'a> Matchings<'a> { individual_matchings: { matching_entries .keys() - .into_iter() .flat_map(|key| [(key.0, key.1), (key.1, key.0)]) .collect::, &'a CSTNode<'a>>>() }, @@ -65,7 +64,6 @@ impl<'a> Matchings<'a> { matchings .matching_entries .keys() - .into_iter() .flat_map(|key| [(key.0, key.1), (key.1, key.0)]) .collect::, &'a CSTNode<'a>>>(), );