mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-09 04:42:30 -04:00
remove initCapacity on Robots
This commit is contained in:
1 file changed
-4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user