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 {
180
180
return parameterIndex;
181
181
}
182
182
183
- // / Returns true if this actor-instance isolation appllies to the self
183
+ // / Returns true if this actor-instance isolation applies to the self
184
184
// / parameter of a method.
185
185
bool isActorInstanceForSelfParameter () const {
186
186
return getActorInstanceParameter () == 0 ;
Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ SILValue ActorInstance::lookThroughInsts(SILValue value) {
1167
1167
continue ;
1168
1168
}
1169
1169
1170
- // Look Through extracting from optionals.
1170
+ // Look through extracting from optionals.
1171
1171
if (auto *uedi = dyn_cast<UncheckedEnumDataInst>(svi)) {
1172
1172
if (uedi->getEnumDecl () ==
1173
1173
uedi->getFunction ()->getASTContext ().getOptionalDecl ()) {
@@ -1176,7 +1176,7 @@ SILValue ActorInstance::lookThroughInsts(SILValue value) {
1176
1176
}
1177
1177
}
1178
1178
1179
- // Look Through wrapping in an enum .
1179
+ // Look through wrapping in an optional .
1180
1180
if (auto *ei = dyn_cast<EnumInst>(svi)) {
1181
1181
if (ei->hasOperand ()) {
1182
1182
if (ei->getElement ()->getParentEnum () ==
You can’t perform that action at this time.
0 commit comments