Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rkarabut committed Feb 18, 2025
1 parent 52d3700 commit 494e750
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ impl DependencyContext {

// Don't update sets for the calls not yet being tracked
for call in &self.tracking {
if let Some(tainted_ids) = self.tainted.get_mut(&call) {
if let Some(tainted_ids) = self.tainted.get_mut(call) {
tainted_ids.update_children(&parents, children);
}
}
Expand All @@ -598,7 +598,7 @@ impl DependencyContext {

// Skip untracked calls
for call in &self.tracking {
if let Some(tainted_ids) = self.tainted.get_mut(&call) {
if let Some(tainted_ids) = self.tainted.get_mut(call) {
tainted_ids.store_partial_constraints(&constrained_values);
}
}
Expand Down Expand Up @@ -628,7 +628,7 @@ impl DependencyContext {
if let Some(index) = value.try_to_u32() {
// Skip untracked calls
for call in &self.tracking {
if let Some(tainted_ids) = self.tainted.get_mut(&call) {
if let Some(tainted_ids) = self.tainted.get_mut(call) {
tainted_ids.process_array_get(array, index as usize, element_results);
}
}
Expand Down

0 comments on commit 494e750

Please sign in to comment.