Skip to content

Commit f650fa3

Browse files
committed
Remove some leftover semicolons, NFC
1 parent 14fbbbb commit f650fa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftSyntax/IncrementalParseTransition.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ internal struct IncrementalParseLookup {
161161
// Fast path check: if parser is past all the edits then any matching node
162162
// can be re-used.
163163
if !edits.isEmpty && edits.last!.range.endOffset < node.position.utf8Offset {
164-
return true;
164+
return true
165165
}
166166

167167
// Node can also not be reused if an edit has been made in the next token's
@@ -173,7 +173,7 @@ internal struct IncrementalParseLookup {
173173
// Fast path check: if next sibling is before all the edits then we can
174174
// re-use the node.
175175
if !edits.isEmpty && edits.first!.range.offset > nextSibling.endPosition.utf8Offset {
176-
return true;
176+
return true
177177
}
178178
if let nextToken = nextSibling.raw.firstPresentToken {
179179
nextLeafNodeLength = nextToken.totalLength - nextToken.trailingTriviaLength

0 commit comments

Comments
 (0)