refactor: use {t} format specifiers
This commit is contained in:
parent
76f23b0824
commit
090d27d890
8 changed files with 19 additions and 21 deletions
|
|
@ -37,9 +37,9 @@ pub fn load_entries(palette: *Type) !usize {
|
|||
for (p.meta.arguments) |arg| {
|
||||
if (first) {
|
||||
first = false;
|
||||
try writer.print("{s}", .{@tagName(arg)});
|
||||
try writer.print("{t}", .{arg});
|
||||
} else {
|
||||
try writer.print(", {s}", .{@tagName(arg)});
|
||||
try writer.print(", {t}", .{arg});
|
||||
}
|
||||
}
|
||||
try writer.writeAll("}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue