Fix template formatting

This commit is contained in:
jaina heartles 2022-12-12 03:40:51 -08:00
parent 11bdaad6d7
commit d504cef8ff

View file

@ -206,7 +206,7 @@ fn print(writer: anytype, arg: anytype) !void {
if (T == void) return; if (T == void) return;
if (comptime std.meta.trait.isZigString(T)) return htmlEscape(writer, arg); if (comptime std.meta.trait.isZigString(T)) return htmlEscape(writer, arg);
if (comptime std.meta.trait.isNumber(T)) return std.fmt.format(writer, "{}", .{arg}); if (comptime std.meta.trait.isNumber(T)) return std.fmt.format(writer, "{}", .{arg});
std.fmt.format(writer, "{}", .{arg}); try std.fmt.format(writer, "{}", .{arg});
} }
fn Deref(comptime T: type, comptime names: []const []const u8) type { fn Deref(comptime T: type, comptime names: []const []const u8) type {