zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 0ec012e0c080e1686e270f033ef5aa2d74c7cc9f (tree)
parent b9a4eae34900958bad7d477cfde1e7ddb4f8be92
Author: Jacob Young <jacobly0@users.noreply.github.com>
Date:   Sun, 11 Jun 2023 00:41:46 -0400

TypedValue: fix code formatting

Diffstat:
Msrc/TypedValue.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/TypedValue.zig b/src/TypedValue.zig @@ -392,7 +392,7 @@ pub fn print( const sent = ty.sentinel(mod) orelse break :blk false; 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)}); }, .elems, .repeated_elem => return printAggregate(ty, val, writer, level, mod),