Skip to content

Commit 7932159

Browse files
committed
Minor typo
1 parent f99d851 commit 7932159

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftBuildSupport/DotPIFSerializer.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fileprivate struct DotPIFSerializer {
7878
func write(_ object: String) { outputStream.write("\(object)\n") }
7979

8080
write("digraph PIF {")
81-
write("dpi=400;") // i.e., MacBook Pro 16" is 226 pixels per inch (3072 x 1920).
81+
write(" dpi=400;") // i.e., MacBook Pro 16" is 226 pixels per inch (3072 x 1920).
8282
for object in objects {
8383
write(" \(object);")
8484
}
@@ -107,7 +107,7 @@ fileprivate struct DotPIFSerializer {
107107
if let style { attributes.append("style=\(style)") }
108108
if let margin { attributes.append("margin=\(margin)") }
109109

110-
var node = " \(id.quote)"
110+
var node = "\(id.quote)"
111111
if !attributes.isEmpty {
112112
let attributesList = attributes.joined(separator: ", ")
113113
node += " [\(attributesList)]"
@@ -126,7 +126,7 @@ fileprivate struct DotPIFSerializer {
126126
if let color { attributes.append("color=\(color)") }
127127
if let style { attributes.append("style=\(style)") }
128128

129-
var edge = " \(left.quote) -> \(right.quote)"
129+
var edge = "\(left.quote) -> \(right.quote)"
130130
if !attributes.isEmpty {
131131
let attributesList = attributes.joined(separator: ", ")
132132
edge += " [\(attributesList)]"

0 commit comments

Comments
 (0)