Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkdp committed Dec 19, 2024
1 parent 5f8e308 commit 1f54069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/red_knot_python_semantic/src/semantic_index/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ impl<'db> SemanticIndexBuilder<'db> {

fn record_constraint_id(&mut self, constraint: ScopedConstraintId) {
self.current_use_def_map_mut()
.record_constraint_id(constraint)
.record_constraint_id(constraint);
}

fn record_constraint(&mut self, constraint: Constraint<'db>) -> ScopedConstraintId {
Expand All @@ -337,7 +337,7 @@ impl<'db> SemanticIndexBuilder<'db> {

fn record_visibility_constraint_id(&mut self, constraint: ScopedVisibilityConstraintId) {
self.current_use_def_map_mut()
.record_visibility_constraint_id(constraint)
.record_visibility_constraint_id(constraint);
}

fn record_visibility_constraint(
Expand Down

0 comments on commit 1f54069

Please sign in to comment.