remove
Remove an item from the set.
Function parameters
Parameters
- self:*BufSet
- value:[]const u8
A BufSet is a set of strings.
Types
- BufSet
- A BufSet is a set of strings.
Source
Implementation
pub fn remove(self: *BufSet, value: []const u8) void {
const kv = self.hash_map.fetchRemove(value) orelse return;
self.free(kv.key);
}