Skip to content

Commit fc442e3

Browse files
authored
Merge pull request #70923 from eltociear/patch-48
[SourceKit] fix typo in SwiftEditor.cpp
2 parents e773d9a + a1108ff commit fc442e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/SourceKit/lib/SwiftLang/SwiftEditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2127,7 +2127,7 @@ void SwiftEditorDocument::readSyntaxInfo(EditorConsumer &Consumer, bool ReportDi
21272127
Impl.SyntaxMap = std::move(NewMap);
21282128

21292129
// Recording an affected length of 0 still results in the client updating
2130-
// its copy of the syntax map (by clearning all tokens on the line of the
2130+
// its copy of the syntax map (by clearing all tokens on the line of the
21312131
// affected offset). We need to not record it at all to signal a no-op.
21322132
if (SawChanges)
21332133
Consumer.recordAffectedRange(Impl.AffectedRange->Offset,

0 commit comments

Comments
 (0)