From 23117941844f5cfa3c02d43783bf3e20ca2c23f4 Mon Sep 17 00:00:00 2001 From: kibeom lee <46297213+lkb85@users.noreply.github.com> Date: Fri, 7 Feb 2025 15:12:11 +0900 Subject: [PATCH] Fix typo in comments --- lib/SILGen/SILGenConvert.cpp | 2 +- lib/Sema/CSStep.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/SILGen/SILGenConvert.cpp b/lib/SILGen/SILGenConvert.cpp index 1d2439b8fe4e4..3a0764f9160c7 100644 --- a/lib/SILGen/SILGenConvert.cpp +++ b/lib/SILGen/SILGenConvert.cpp @@ -190,7 +190,7 @@ ManagedValue SILGenFunction::emitPreconditionOptionalHasValue(SILLocation loc, ManagedValue optional, bool isImplicitUnwrap) { - // Generate code to the optional is present, and if not, abort with a message + // Generate code to check if the optional is present, and if not, abort with a message // (provided by the stdlib). SILBasicBlock *contBB = createBasicBlock(); SILBasicBlock *failBB = createBasicBlock(); diff --git a/lib/Sema/CSStep.h b/lib/Sema/CSStep.h index a3e75b93f0136..51f1fd4d3b384 100644 --- a/lib/Sema/CSStep.h +++ b/lib/Sema/CSStep.h @@ -39,7 +39,7 @@ class SolverStep; class ComponentStep; /// Represents available states which every -/// given step could be in during it's lifetime. +/// given step could be in during its lifetime. enum class StepState { Setup, Ready, Running, Suspended, Done }; /// Represents result of the step execution,