Skip to content

Commit 12fcb6d

Browse files
committed
[NFC] Fix grammar in repairViaOptionalUnwrap comment
1 parent 3b91772 commit 12fcb6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSSimplify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2958,7 +2958,7 @@ repairViaOptionalUnwrap(ConstraintSystem &cs, Type fromType, Type toType,
29582958
std::tie(fromObjectType, fromUnwraps) = getObjectTypeAndUnwraps(fromType);
29592959
std::tie(toObjectType, toUnwraps) = getObjectTypeAndUnwraps(toType);
29602960

2961-
// Since equality is symmetric and it decays into a `Bind` eagerly
2961+
// Since equality is symmetric and it decays into a `Bind`, eagerly
29622962
// unwrapping optionals from either side might be incorrect since
29632963
// there is not enough information about what is expected e.g.
29642964
// `Int?? equal T0?` just like `T0? equal Int??` allows `T0` to be

0 commit comments

Comments
 (0)