pub fn add(self: *Self, key: E, c: CountSize) error
Increases the key count by given amount.
self: *Self
key: E
c: CountSize
725 726 727
pub fn add(self: *Self, key: E, c: CountSize) error{Overflow}!void { self.counts.set(key, try std.math.add(CountSize, self.counts.get(key), c)); }
Increases the key count by given amount.