rtl: remove dead code in rbtree

This commit is contained in:
Loïc Grégoire
2026-05-14 09:02:33 -04:00
parent 135d86349b
commit 554bc292c7
-1
View File
@@ -84,7 +84,6 @@ pub fn RBTree(comptime cmp: fn (*const bst.Node, *const bst.Node) std.math.Order
self.tree.insert(elem) catch |err| {
if (err != error.AlreadyExists) unreachable;
set_color(elem, red);
return error.AlreadyExists;
};