Skip to content

Lightpanda: the headless browser designed for AI and automation

remove initCapacity on Robots

Muki Kiboigob9cd6f1d88e6
diff --git a/src/network/Robots.zig b/src/network/Robots.zig
index d9990a4b4..6cd5dfada 100644
--- a/src/network/Robots.zig
+++ b/src/network/Robots.zig
@@ -103,10 +103,6 @@ pub const RobotStore = struct {
mutex: std.Io.Mutex = .init,
pub fn init(allocator: std.mem.Allocator, capacity: u32) RobotStore {
- return .initCapacity(allocator, capacity);
- }
-
- pub fn initCapacity(allocator: std.mem.Allocator, capacity: usize) RobotStore {
return .{
.allocator = allocator,
.map = .empty,