Skip to content

Commit 9644eca

Browse files
committed
Fix too long line from swiftlang#103.
1 parent 44edbc0 commit 9644eca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/SwiftFormatPrettyPrint/TokenStreamCreator.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,9 @@ private final class TokenStreamCreator: SyntaxVisitor {
959959

960960
if let condition = node.condition {
961961
before(condition.firstToken, tokens: .printerControl(kind: .disableBreaking))
962-
after(condition.lastToken, tokens: .printerControl(kind: .enableBreaking), .break(.reset, size: 0))
962+
after(
963+
condition.lastToken,
964+
tokens: .printerControl(kind: .enableBreaking), .break(.reset, size: 0))
963965
}
964966

965967
return .visitChildren

0 commit comments

Comments
 (0)