Skip to content

Commit

Permalink
refactor: remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Nov 6, 2023
1 parent fd3c522 commit cb1fadb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions matching/src/matchings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ impl<'a> Matchings<'a> {
self.find_matching_for(left).is_some() && self.find_matching_for(right).is_some()
}

pub fn push(&mut self, key: UnorderedPair<&'a CSTNode>, value: MatchingEntry) {
self.matching_entries.insert(key, value);
}

pub fn extend(&mut self, matchings: Matchings<'a>) {
self.matching_entries.extend(matchings);
}
Expand Down

0 comments on commit cb1fadb

Please sign in to comment.