mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 23:52:31 +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;
|
return size * 100 < max_load_percentage * cap;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn init(allocator: *Allocator) Self {
|
|
||||||
return .{};
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn deinit(self: *Self, allocator: *Allocator) void {
|
pub fn deinit(self: *Self, allocator: *Allocator) void {
|
||||||
self.deallocate(allocator);
|
self.deallocate(allocator);
|
||||||
self.* = undefined;
|
self.* = undefined;
|
||||||
|
Loading…
Reference in New Issue
Block a user