Skip to content

Commit a87c3d9

Browse files
committed
fix docs
1 parent b700a31 commit a87c3d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ty_python_semantic/src/types/constraints.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ impl<'db> Node<'db> {
11951195
/// this method, other than to stop tracking the domain (which was never used for display
11961196
/// purposes). That means we have some tech debt here, since there is a lot of duplicate logic
11971197
/// between `simplify_for_display` and `SequentMap`. It would be nice to update our display
1198-
/// logic to use the sequenet map as much as possible. But that can happen later.
1198+
/// logic to use the sequent map as much as possible. But that can happen later.
11991199
fn simplify_for_display(self, db: &'db dyn Db) -> Self {
12001200
match self {
12011201
Node::AlwaysTrue | Node::AlwaysFalse => self,
@@ -2012,7 +2012,7 @@ struct SequentMap<'db> {
20122012
/// Sequents of the form `C₁ ∧ C₂ → D`
20132013
pair_implications:
20142014
FxHashMap<(ConstrainedTypeVar<'db>, ConstrainedTypeVar<'db>), Vec<ConstrainedTypeVar<'db>>>,
2015-
/// Sequents of the form `C₁ ∧ C₂ → D`
2015+
/// Sequents of the form `C → D`
20162016
single_implications: FxHashMap<ConstrainedTypeVar<'db>, Vec<ConstrainedTypeVar<'db>>>,
20172017
/// Constraints that we have already processed
20182018
processed: FxHashSet<ConstrainedTypeVar<'db>>,

0 commit comments

Comments
 (0)