aboutsummaryrefslogtreecommitdiff
path: root/src/eval/html
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-28 19:37:37 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-28 19:37:37 +0200
commitd9e37656e83d7d3c25709795ab7ccccca0071254 (patch)
tree622789be5f608f39d6fdd9b9b99a16209f3b1d7f /src/eval/html
parent3b1e6547d069d7c438af551a4989972802a895ee (diff)
perf(eval): reduce memory usage
Diffstat (limited to 'src/eval/html')
-rw-r--r--src/eval/html/Element.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval/html/Element.zig b/src/eval/html/Element.zig
index 6073e6a..cf5e74c 100644
--- a/src/eval/html/Element.zig
+++ b/src/eval/html/Element.zig
@@ -29,8 +29,8 @@ pub const Node = struct {
const Self = @This();
vtable: struct {
- render: *const fn (self: *anyopaque, alloc: Allocator) Error![]const u8,
- node: *const fn (self: *anyopaque) *Node,
+ render: *const fn (*anyopaque, Allocator) Error![]const u8,
+ node: *const fn (*anyopaque) *Node,
},
ptr: *anyopaque,