feat(rtl): use one sentinel nil node globally

This commit is contained in:
Loïc Grégoire
2026-04-05 22:55:12 -04:00
parent 5341e057d2
commit 6a8fcaeebc
4 changed files with 66 additions and 52 deletions
+4
View File
@@ -11,6 +11,10 @@ pub const bst = @import("bst.zig");
pub const BST = bst.BST;
pub const RBTree = @import("rbtree.zig").RBTree;
pub fn init() void {
bst.init_nil();
}
test {
std.testing.refAllDecls(@This());
}