pub fn init(a: Allocator) BufSet
Create a BufSet using an allocator. The allocator will be used internally for both backing allocations and string duplication.
a: Allocator
19 20 21
pub fn init(a: Allocator) BufSet { return .{ .hash_map = BufSetHashMap.init(a) }; }
Create a BufSet using an allocator. The allocator will be used internally for both backing allocations and string duplication.