From bb5c219daec42be742e81f726ebdcfae4219e084 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Wed, 10 Feb 2021 22:13:22 -0500 Subject: Added string specifier in format strings (#3) This is now required in current versions of Zig. --- exercises/07_strings2.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/07_strings2.zig') diff --git a/exercises/07_strings2.zig b/exercises/07_strings2.zig index bb81bc7..f0bbf99 100644 --- a/exercises/07_strings2.zig +++ b/exercises/07_strings2.zig @@ -20,5 +20,5 @@ pub fn main() void { And the Spiders from Mars ; - std.debug.print("{}\n",.{lyrics}); + std.debug.print("{s}\n",.{lyrics}); } -- cgit v1.2.3-ZIG