Commit ab43f2376e

Meghan Denny <hello@nektro.net>
2021-04-09 23:57:50
lib/std: remove empty init from HashMapUnmanaged
1 parent ecf555c
Changed files (1)
lib
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;