File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ class ActorIsolation {
180180 return parameterIndex;
181181 }
182182
183- // / Returns true if this actor-instance isolation appllies to the self
183+ // / Returns true if this actor-instance isolation applies to the self
184184 // / parameter of a method.
185185 bool isActorInstanceForSelfParameter () const {
186186 return getActorInstanceParameter () == 0 ;
Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ SILValue ActorInstance::lookThroughInsts(SILValue value) {
11671167 continue ;
11681168 }
11691169
1170- // Look Through extracting from optionals.
1170+ // Look through extracting from optionals.
11711171 if (auto *uedi = dyn_cast<UncheckedEnumDataInst>(svi)) {
11721172 if (uedi->getEnumDecl () ==
11731173 uedi->getFunction ()->getASTContext ().getOptionalDecl ()) {
@@ -1176,7 +1176,7 @@ SILValue ActorInstance::lookThroughInsts(SILValue value) {
11761176 }
11771177 }
11781178
1179- // Look Through wrapping in an enum .
1179+ // Look through wrapping in an optional .
11801180 if (auto *ei = dyn_cast<EnumInst>(svi)) {
11811181 if (ei->hasOperand ()) {
11821182 if (ei->getElement ()->getParentEnum () ==
You can’t perform that action at this time.
0 commit comments