Skip to content

Commit 14bd0b0

Browse files
authored
Merge pull request #79208 from lkb85/fix/comment-typo
Fix typo in code comment for clarity
2 parents 4e7623e + 2311794 commit 14bd0b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/SILGen/SILGenConvert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ ManagedValue
190190
SILGenFunction::emitPreconditionOptionalHasValue(SILLocation loc,
191191
ManagedValue optional,
192192
bool isImplicitUnwrap) {
193-
// Generate code to the optional is present, and if not, abort with a message
193+
// Generate code to check if the optional is present, and if not, abort with a message
194194
// (provided by the stdlib).
195195
SILBasicBlock *contBB = createBasicBlock();
196196
SILBasicBlock *failBB = createBasicBlock();

lib/Sema/CSStep.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SolverStep;
3939
class ComponentStep;
4040

4141
/// Represents available states which every
42-
/// given step could be in during it's lifetime.
42+
/// given step could be in during its lifetime.
4343
enum class StepState { Setup, Ready, Running, Suspended, Done };
4444

4545
/// Represents result of the step execution,

0 commit comments

Comments
 (0)