Added string specifier in format strings (#3)
This is now required in current versions of Zig.
This commit is contained in:
parent
d50aa3577b
commit
bb5c219dae
3 changed files with 8 additions and 7 deletions
|
|
@ -20,5 +20,5 @@ pub fn main() void {
|
|||
And the Spiders from Mars
|
||||
;
|
||||
|
||||
std.debug.print("{}\n",.{lyrics});
|
||||
std.debug.print("{s}\n",.{lyrics});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue