mirror of
https://github.com/ziglang/zig.git
synced 2025-12-22 06:03:16 +00:00
TypedValue: fix code formatting
This commit is contained in:
parent
b9a4eae349
commit
0ec012e0c0
@ -392,7 +392,7 @@ pub fn print(
|
|||||||
const sent = ty.sentinel(mod) orelse break :blk false;
|
const sent = ty.sentinel(mod) orelse break :blk false;
|
||||||
break :blk sent.eql(Value.zero_u8, Type.u8, mod);
|
break :blk sent.eql(Value.zero_u8, Type.u8, mod);
|
||||||
};
|
};
|
||||||
const str = if (zero_sent) bytes[0..bytes.len - 1] else bytes;
|
const str = if (zero_sent) bytes[0 .. bytes.len - 1] else bytes;
|
||||||
return writer.print("\"{}\"", .{std.zig.fmtEscapes(str)});
|
return writer.print("\"{}\"", .{std.zig.fmtEscapes(str)});
|
||||||
},
|
},
|
||||||
.elems, .repeated_elem => return printAggregate(ty, val, writer, level, mod),
|
.elems, .repeated_elem => return printAggregate(ty, val, writer, level, mod),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user