authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-02-08 21:24:22-08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-02-08 21:24:22-08:00
logc99b43e3da014f943018f3baabf590122cd216a6
tree50977d67caacef7a47b5cdc843cd46f2affb8c7b
parente4438a58ae7de9496e64be318f10184c1b830188

ArrayList.writer() removed in 57dbc9e74a3f19802e4592f35061f1524c218a8f


1 files changed, 1 insertions(+), 2 deletions(-)

lib/docs/wasm/html_render.zig+1-2
...@@ -38,9 +38,8 @@ pub fn fileSourceLineNumbersHtml(...@@ -38,9 +38,8 @@ pub fn fileSourceLineNumbersHtml(
38 const ast = file_index.get_ast();38 const ast = file_index.get_ast();
39 const first_token_line = ast.tokenLocation(0, ast.firstToken(root_node)).line;39 const first_token_line = ast.tokenLocation(0, ast.firstToken(root_node)).line;
40 const last_token_line = ast.tokenLocation(0, ast.lastToken(root_node)).line;40 const last_token_line = ast.tokenLocation(0, ast.lastToken(root_node)).line;
41 const writer = out.writer(gpa);
42 for (first_token_line..last_token_line + 1) |i| {41 for (first_token_line..last_token_line + 1) |i| {
43 try std.fmt.format(writer, "<span>{d}</span>\n", .{i + 1});42 try out.print(gpa, "<span>{d}</span>\n", .{i + 1});
44 }43 }
45}44}
4645