mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-17 00:38:59 +00:00
zig fmt :|
This commit is contained in:
@@ -408,15 +408,12 @@ pub const TrackingAllocator = struct {
|
||||
}
|
||||
|
||||
pub fn allocator(self: *TrackingAllocator) Allocator {
|
||||
return .{
|
||||
.ptr = self,
|
||||
.vtable = &.{
|
||||
.alloc = alloc,
|
||||
.resize = resize,
|
||||
.free = free,
|
||||
.remap = remap,
|
||||
}
|
||||
};
|
||||
return .{ .ptr = self, .vtable = &.{
|
||||
.alloc = alloc,
|
||||
.resize = resize,
|
||||
.free = free,
|
||||
.remap = remap,
|
||||
} };
|
||||
}
|
||||
|
||||
fn alloc(
|
||||
|
||||
Reference in New Issue
Block a user