mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
feat(rtl): use one sentinel nil node globally
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user