Commit ab43c045ed
Changed files (1)
lib
std
lib/std/hash_map.zig
@@ -629,7 +629,8 @@ pub fn HashMap(
}
/// If there is an `Entry` with a matching key, it is deleted from
- /// the hash map, and then returned from this function.
+ /// the hash map, and this function returns true. Otherwise this
+ /// function returns false.
pub fn remove(self: *Self, key: K) bool {
return self.unmanaged.removeContext(key, self.ctx);
}