Skip to content

Commit 65254a9

Browse files
author
Daniel Dahan
committed
minor boolean cleanup
1 parent 0a82401 commit 65254a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RedBlackTree.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ public struct RedBlackTree<Key: Comparable, Value>: Probable, Collection, Bidire
515515

516516
var x: RedBlackNode<Key, Value>!
517517
var y = z
518-
var isRed: Bool = y.isRed
518+
var isRed = y.isRed
519519

520520
if z.left === sentinel {
521521
x = z.right

0 commit comments

Comments
 (0)