mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
lib/std: remove empty init from HashMapUnmanaged
This commit is contained in:
parent
ecf555c693
commit
ab43f2376e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user