zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit c99b43e3da014f943018f3baabf590122cd216a6 (tree)
parent e4438a58ae7de9496e64be318f10184c1b830188
Author: Meghan Denny <hello@nektro.net>
Date:   Sun,  8 Feb 2026 21:24:22 -0800

ArrayList.writer() removed in 57dbc9e74a3f19802e4592f35061f1524c218a8f

Diffstat:
Mlib/docs/wasm/html_render.zig | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

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