Skip to content

Commit

Permalink
Fix typos in code comments (#1874)
Browse files Browse the repository at this point in the history
  • Loading branch information
yannham authored Mar 28, 2024
1 parent d0459a6 commit 4dc7696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/typecheck/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2147,8 +2147,8 @@ fn check<V: TypecheckVisitor>(
// case, once we have inferred an actual type for this field, we need to unify
// what's inside the environment with the actual type to ensure that they agree.
//
// `need_unif_step` store the list of fields corresponding to the case 2, which
// requires this additional unification step. Note that performing the additional
// `need_unif_step` stores the list of fields corresponding to the case 2, which
// require this additional unification step. Note that performing the additional
// unification in case 1. should be harmless, but it's wasteful, and is also not
// entirely trivial because of polymorphism (we need to make sure to instantiate
// polymorphic type annotations). So it's simpler to just skip it in this case.
Expand Down

0 comments on commit 4dc7696

Please sign in to comment.