init
Create a BufSet using an allocator. The allocator will be used internally for both backing allocations and string duplication.
Function parameters
Parameters
A BufSet is a set of strings.
Types
- BufSet
- A BufSet is a set of strings.
Source
Implementation
pub fn init(a: Allocator) BufSet {
return .{ .hash_map = BufSetHashMap.init(a) };
}