diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-01-15 17:34:12 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-01-16 12:49:58 +0000 |
| commit | 9804cc8bc6fe83b2a0cd5b61b8d2fc5d458cb221 (patch) | |
| tree | d2f7a675b37c8f94db9b1015589a3b37805e2ac6 /lib/std/json/stringify.zig | |
| parent | 89a9cabafd745034871ea014b06bd3bad0505f4a (diff) | |
| download | zig-9804cc8bc6fe83b2a0cd5b61b8d2fc5d458cb221.tar.gz zig-9804cc8bc6fe83b2a0cd5b61b8d2fc5d458cb221.zip | |
all: update to `std.builtin.Type.{Pointer,Array,StructField}` field renames
Diffstat (limited to 'lib/std/json/stringify.zig')
| -rw-r--r-- | lib/std/json/stringify.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/json/stringify.zig b/lib/std/json/stringify.zig index 9761196151..db2ba85318 100644 --- a/lib/std/json/stringify.zig +++ b/lib/std/json/stringify.zig @@ -642,7 +642,7 @@ pub fn WriteStream( }, }, .many, .slice => { - if (ptr_info.size == .many and ptr_info.sentinel == null) + if (ptr_info.size == .many and ptr_info.sentinel() == null) @compileError("unable to stringify type '" ++ @typeName(T) ++ "' without sentinel"); const slice = if (ptr_info.size == .many) std.mem.span(value) else value; |
