mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-06 18:13:29 +02:00
Added string specifier in format strings (#3)
This is now required in current versions of Zig.
This commit is contained in:
@@ -30,5 +30,5 @@ pub fn main() void {
|
||||
lang[2] = letters[???];
|
||||
|
||||
// We want to "Program in Zig!" of course:
|
||||
std.debug.print("Program in {}!\n", .{lang});
|
||||
std.debug.print("Program in {s}!\n", .{lang});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user