pub fn removeAdapted(self: *Self, key: anytype, ctx: anytype) bool self: *Selfkeyctx1255
1256
1257
1258
1259
1260
1261
1262 pub fn removeAdapted(self: *Self, key: anytype, ctx: anytype) bool {
if (self.getIndex(key, ctx)) |idx| {
self.removeByIndex(idx);
return true;
}
return false;
}
TODO: answer the question in these doc comments, does this increase the unused capacity by one?