Skip to content

Lightpanda: the headless browser designed for AI and automation

remove inaccurate Robots comment

Muki Kiboigo8682cca571b5
diff --git a/src/network/Robots.zig b/src/network/Robots.zig
index 33d0fcfba..e02b644f1 100644
--- a/src/network/Robots.zig
+++ b/src/network/Robots.zig
@@ -147,8 +147,6 @@ pub const RobotStore = struct {
if (try self.insert(url, .{ .present = robots })) return;
- // cannot overwrite an existing value, if it was `present`, we'd have
- // to free the value but it might be being used.
var discarded = robots;
discarded.deinit(self.allocator);
}