Skip to content

Commit a0a629f

Browse files
committed
[squash this] Style fixes
1 parent f2102fc commit a0a629f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Sema/DerivedConformanceCodable.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,15 +538,15 @@ lookupVarDeclForCodingKeysCase(DeclContext *conformanceDC,
538538
}
539539

540540
bool useIfPresentVariant =
541-
varType->getAnyNominal() == C.getOptionalDecl();
541+
varType->getAnyNominal() == C.getOptionalDecl();
542542

543543
if (useIfPresentVariant) {
544544
// The type we request out of decodeIfPresent needs to be unwrapped
545545
// one level.
546546
// e.g. String? => decodeIfPresent(String.self, forKey: ...), not
547547
// decodeIfPresent(String?.self, forKey: ...)
548548
auto boundOptionalType =
549-
dyn_cast<BoundGenericType>(varType->getCanonicalType());
549+
dyn_cast<BoundGenericType>(varType->getCanonicalType());
550550
varType = boundOptionalType->getGenericArgs()[0];
551551
}
552552

0 commit comments

Comments
 (0)