pub fn putNoClobberContext(self: *Self, gpa: Allocator, key: K, value: V, ctx: Context) Oom!void
self: *Self
gpa: Allocator
key: K
value: V
ctx: Context
481 482 483 484 485
pub fn putNoClobberContext(self: *Self, gpa: Allocator, key: K, value: V, ctx: Context) Oom!void { const result = try self.getOrPutContext(gpa, key, ctx); assert(!result.found_existing); result.value_ptr.* = value; }