Commit cbd42e44d6
Changed files (1)
lib
std
lib/std/rb.zig
@@ -123,7 +123,8 @@ pub const Node = struct {
return node;
}
- fn getLast(node: *Node) *Node {
+ fn getLast(nodeconst: *Node) *Node {
+ var node = nodeconst;
while (node.right) |right| {
node = right;
}