Function init [src]
Create a BufMap backed by a specific allocator.
That allocator will be used for both backing allocations
and string deduplication.
Prototype
pub fn init(allocator: Allocator) BufMap
Parameters
allocator: Allocator
Source
pub fn init(allocator: Allocator) BufMap {
return .{ .hash_map = BufMapHashMap.init(allocator) };
}