Skip to content

Commit 4837fec

Browse files
authored
Merge pull request swiftlang#104 from dylansturg/fix_line_length
Fix too long line from swiftlang#103.
2 parents 44edbc0 + 9644eca commit 4837fec

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)