Skip to content

Commit 3e21059

Browse files
[Doc] remove some duplicate words
1 parent 55349f8 commit 3e21059

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CodeGeneration/Sources/generate-swiftsyntax/templates/swiftsyntax/KeywordFile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ let keywordFile = SourceFileSyntax(leadingTrivia: generateCopyrightHeader(for: "
6363

6464
try! VariableDeclSyntax(
6565
"""
66-
/// Whether the token kind is switched from being an identifier to being an identifier to a keyword in the lexer.
66+
/// Whether the token kind is switched from being an identifier to being a keyword in the lexer.
6767
/// This is true for keywords that used to be considered non-contextual.
6868
public var isLexerClassified: Bool
6969
"""

Sources/SwiftSyntax/generated/Keyword.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ public enum Keyword: UInt8, Hashable {
735735
}
736736
}
737737

738-
/// Whether the token kind is switched from being an identifier to a keyword in the lexer.
738+
/// Whether the token kind is switched from being an identifier to being a keyword in the lexer.
739739
/// This is true for keywords that used to be considered non-contextual.
740740
public var isLexerClassified: Bool {
741741
switch self {

0 commit comments

Comments
 (0)