Function remove [src]
Remove an item from the set.
Prototype
pub fn remove(self: *BufSet, value: []const u8) void
Parameters
self: *BufSet
value: []const u8
Source
pub fn remove(self: *BufSet, value: []const u8) void {
const kv = self.hash_map.fetchRemove(value) orelse return;
self.free(kv.key);
}