lib/std: remove empty init from HashMapUnmanaged

This commit is contained in:
Meghan Denny 2021-04-09 14:57:50 -07:00 committed by Andrew Kelley
parent ecf555c693
commit ab43f2376e

View File

@ -398,10 +398,6 @@ pub fn HashMapUnmanaged(
return size * 100 < max_load_percentage * cap;
}
pub fn init(allocator: *Allocator) Self {
return .{};
}
pub fn deinit(self: *Self, allocator: *Allocator) void {
self.deallocate(allocator);
self.* = undefined;