diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-07-01 09:41:41 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-07-07 22:43:52 -0700 |
| commit | fac5fe57beb3ee34d5687da4258be22f0ed2f2f3 (patch) | |
| tree | e25921f5c1793af0883120c25b0d1f7980008481 /lib/std/debug.zig | |
| parent | fc310ee7bcbe7b96cc46f993277cc3933e4a0fda (diff) | |
| download | zig-fac5fe57beb3ee34d5687da4258be22f0ed2f2f3.tar.gz zig-fac5fe57beb3ee34d5687da4258be22f0ed2f2f3.zip | |
std.io.Writer.Allocating: rename interface to writer
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 21e985d98b..4e1bbfcbd1 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -307,7 +307,7 @@ test dumpHexFallible { var aw: std.io.Writer.Allocating = .init(std.testing.allocator); defer aw.deinit(); - try dumpHexFallible(&aw.interface, .no_color, bytes); + try dumpHexFallible(&aw.writer, .no_color, bytes); const expected = try std.fmt.allocPrint(std.testing.allocator, \\{x:0>[2]} 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF .."3DUfw........ \\{x:0>[2]} 01 12 13 ... @@ -1230,7 +1230,7 @@ fn printLineFromFileAnyOs(writer: *Writer, source_location: SourceLocation) !voi test printLineFromFileAnyOs { var aw: Writer.Allocating = .init(std.testing.allocator); defer aw.deinit(); - const output_stream = &aw.interface; + const output_stream = &aw.writer; const allocator = std.testing.allocator; const join = std.fs.path.join; |
