Skip to content

Commit 60ac579

Browse files
Use continue instead of copy-pasted code.
1 parent 792326d commit 60ac579

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/SwiftSyntaxBuilder/ConvenienceInitializers.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,7 @@ extension StringLiteralExprSyntax {
288288
consecutivePounds += 1
289289
maxPounds = max(maxPounds, consecutivePounds)
290290
case (true, "\""), (true, "\\"):
291-
countingPounds = true
292-
requiresEscaping = true
291+
continue
293292
case (true, _):
294293
countingPounds = false
295294
consecutivePounds = 0

0 commit comments

Comments
 (0)