aboutsummaryrefslogtreecommitdiff
path: root/exercises/082_anonymous_structs3.zig
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2022-07-31 10:20:42 -0400
committerGitHub <noreply@github.com>2022-07-31 10:20:42 -0400
commit155784192d2f9206b63f3140ae12875a5c3563be (patch)
treeaf612f41ae9012aa53886d30c4fff8ef4f4b47e7 /exercises/082_anonymous_structs3.zig
parentee4e397d246950196bef07b52826dbbcbeaaf505 (diff)
parentc222d695e9417ca5e5a14beac8f07613a14d4686 (diff)
downloadziglings-155784192d2f9206b63f3140ae12875a5c3563be.tar.gz
ziglings-155784192d2f9206b63f3140ae12875a5c3563be.tar.bz2
ziglings-155784192d2f9206b63f3140ae12875a5c3563be.tar.xz
ziglings-155784192d2f9206b63f3140ae12875a5c3563be.zip
Merge pull request #116 from jtgoen/fix-format-specifiers
Fix issue with formatting from std library updates
Diffstat (limited to 'exercises/082_anonymous_structs3.zig')
-rw-r--r--exercises/082_anonymous_structs3.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/082_anonymous_structs3.zig b/exercises/082_anonymous_structs3.zig
index 1214589..8344321 100644
--- a/exercises/082_anonymous_structs3.zig
+++ b/exercises/082_anonymous_structs3.zig
@@ -116,7 +116,7 @@ fn printTuple(tuple: anytype) void {
// @field(foo, "x"); // returns the value at foo.x
//
// The first field should print as: "0"(bool):true
- print("\"{s}\"({s}):{any} ", .{
+ print("\"{s}\"({any}):{any} ", .{
field.???,
field.???,
???,