Function init [src]

Create a EnvMap backed by a specific allocator. That allocator will be used for both backing allocations and string deduplication.

Prototype

pub fn init(allocator: Allocator) EnvMap

Parameters

allocator: Allocator

Source

pub fn init(allocator: Allocator) EnvMap { return EnvMap{ .hash_map = HashMap.init(allocator) }; }