From ab43f2376e5aa0541cfe6902a44bd8943d1cb5ec Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Fri, 9 Apr 2021 14:57:50 -0700 Subject: [PATCH] lib/std: remove empty init from HashMapUnmanaged --- lib/std/hash_map.zig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/std/hash_map.zig b/lib/std/hash_map.zig index 62f430a672..b74144d08b 100644 --- a/lib/std/hash_map.zig +++ b/lib/std/hash_map.zig @@ -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;