diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-08-27 21:20:18 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-08-29 17:14:26 -0700 |
| commit | 79f267f6b9e7f80a6fed3b1019f9de942841c3be (patch) | |
| tree | 29a243d4aa85d8295cc06608bde59333ebdb843c /src/Value.zig | |
| parent | 558bea2a76179fcc00779fdd326e5a866956fc9b (diff) | |
| download | zig-79f267f6b9e7f80a6fed3b1019f9de942841c3be.tar.gz zig-79f267f6b9e7f80a6fed3b1019f9de942841c3be.zip | |
std.Io: delete GenericReader
and delete deprecated alias std.io
Diffstat (limited to 'src/Value.zig')
| -rw-r--r-- | src/Value.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Value.zig b/src/Value.zig index d2e6c9f1ac..0badae7cee 100644 --- a/src/Value.zig +++ b/src/Value.zig @@ -15,7 +15,7 @@ const Value = @This(); ip_index: InternPool.Index, -pub fn format(val: Value, writer: *std.io.Writer) !void { +pub fn format(val: Value, writer: *std.Io.Writer) !void { _ = val; _ = writer; @compileError("do not use format values directly; use either fmtDebug or fmtValue"); @@ -23,7 +23,7 @@ pub fn format(val: Value, writer: *std.io.Writer) !void { /// This is a debug function. In order to print values in a meaningful way /// we also need access to the type. -pub fn dump(start_val: Value, w: std.io.Writer) std.io.Writer.Error!void { +pub fn dump(start_val: Value, w: std.Io.Writer) std.Io.Writer.Error!void { try w.print("(interned: {})", .{start_val.toIntern()}); } |
