Skip to content

Commit 34998be

Browse files
authored
1 parent 560aca0 commit 34998be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/ty_python_semantic/src/semantic_index

crates/ty_python_semantic/src/semantic_index/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2916,8 +2916,8 @@ impl<'ast> Visitor<'ast> for SemanticIndexBuilder<'_, 'ast> {
29162916
.record_narrowing_constraint_for_all_places(constraint);
29172917
} else {
29182918
// In non-function scopes, we only record a narrowing constraint
2919-
// (no a reachability constraints). Recording reachability for
29202919
// (not a reachability constraint). Recording reachability for
2920+
// calls in module scope is simply too expensive, and it's not
29212921
// too important of a use case.
29222922
let predicate_id =
29232923
self.add_predicate(PredicateOrLiteral::Predicate(predicate));

0 commit comments

Comments
 (0)