diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-08-27 16:05:51 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-08-28 18:30:57 -0700 |
| commit | f7884961c230367cefd3dfbf730ac5277297dc63 (patch) | |
| tree | e9f49ef21141371c1643a28ac7aa7347afc43cba /test | |
| parent | 4f510dba10872cf7b71d1a48b4dc5879444f89d7 (diff) | |
| download | zig-f7884961c230367cefd3dfbf730ac5277297dc63.tar.gz zig-f7884961c230367cefd3dfbf730ac5277297dc63.zip | |
update more to avoid GenericWriter
Diffstat (limited to 'test')
| -rw-r--r-- | test/standalone/run_output_paths/create_file.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/standalone/run_output_paths/create_file.zig b/test/standalone/run_output_paths/create_file.zig index da949d4fc1..260c36f10c 100644 --- a/test/standalone/run_output_paths/create_file.zig +++ b/test/standalone/run_output_paths/create_file.zig @@ -10,7 +10,8 @@ pub fn main() !void { dir_name, .{}); const file_name = args.next().?; const file = try dir.createFile(file_name, .{}); - try file.deprecatedWriter().print( + var file_writer = file.writer(&.{}); + try file_writer.interface.print( \\{s} \\{s} \\Hello, world! |
