Skip to content

Commit a8c18a5

Browse files
[gardening] Don't compare to false.
1 parent 38362bb commit a8c18a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/DebuggerSupport.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public enum _DebuggerSupport {
202202
}
203203

204204
let count = Int(mirror.children.count)
205-
let bullet = isRoot && (count == 0 || willExpand == false) ? ""
205+
let bullet = isRoot && (count == 0 || !willExpand) ? ""
206206
: count == 0 ? "- "
207207
: maxDepth <= 0 ? "" : ""
208208
print("\(bullet)", terminator: "", to: &targetStream)

0 commit comments

Comments
 (0)