Skip to content

Commit 1d25134

Browse files
Use continue instead of copy-pasted code.
1 parent 81faa8f commit 1d25134

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
@@ -263,8 +263,7 @@ extension StringLiteralExprSyntax {
263263
consecutivePounds += 1
264264
maxPounds = max(maxPounds, consecutivePounds)
265265
case (true, "\""), (true, "\\"):
266-
countingPounds = true
267-
requiresEscaping = true
266+
continue
268267
case (true, _):
269268
countingPounds = false
270269
consecutivePounds = 0

0 commit comments

Comments
 (0)