Skip to content

Commit 1cd1f25

Browse files
committed
[ConstraintSystem] NFC: Fix typo implact -> impact
1 parent b7a732e commit 1cd1f25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Sema/CSSimplify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4093,7 +4093,7 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyConformsToConstraint(
40934093
fixRequirementFailure(*this, type, protocolTy, anchor, path)) {
40944094
unsigned choiceImpact = 0;
40954095
// If this requirement is associated with overload choice let's
4096-
// tie implact how many times this non-conforming type is mentioned.
4096+
// tie impact to how many times this non-conforming type is mentioned.
40974097
if (auto *ODRE = dyn_cast_or_null<OverloadedDeclRefExpr>(anchor)) {
40984098
auto *choice = findSelectedOverloadFor(ODRE);
40994099
if (typeVar && choice) {

lib/Sema/ConstraintSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2063,7 +2063,7 @@ class ConstraintSystem {
20632063

20642064
/// Log and record the application of the fix. Return true iff any
20652065
/// subsequent solution would be worse than the best known solution.
2066-
bool recordFix(ConstraintFix *fix, unsigned implact = 1);
2066+
bool recordFix(ConstraintFix *fix, unsigned impact = 1);
20672067

20682068
void recordHole(TypeVariableType *typeVar);
20692069

0 commit comments

Comments
 (0)