aboutsummaryrefslogtreecommitdiff
path: root/exercises/37_structs.zig
diff options
context:
space:
mode:
authorVishal Sodani <vishalsodani@rediffmail.com>2021-02-26 10:48:49 +0530
committerGitHub <noreply@github.com>2021-02-26 10:48:49 +0530
commitc80e43ef652ba560368c83a95c1371fb95f408ba (patch)
tree523d8f0d187811d86e6f227bac589a7a11cec7cf /exercises/37_structs.zig
parent3b496f65b3a9359aaef8cef3db541b4e5ea832b2 (diff)
downloadziglings-c80e43ef652ba560368c83a95c1371fb95f408ba.tar.gz
ziglings-c80e43ef652ba560368c83a95c1371fb95f408ba.tar.bz2
ziglings-c80e43ef652ba560368c83a95c1371fb95f408ba.tar.xz
ziglings-c80e43ef652ba560368c83a95c1371fb95f408ba.zip
Fixed a typo #26
Diffstat (limited to 'exercises/37_structs.zig')
-rw-r--r--exercises/37_structs.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/37_structs.zig b/exercises/37_structs.zig
index 37989c0..8082248 100644
--- a/exercises/37_structs.zig
+++ b/exercises/37_structs.zig
@@ -10,8 +10,8 @@
//
// into this:
//
-// point1 = Point{ .x=3, .y=16, .y=27 };
-// point2 = Point{ .x=7, .y=13, .y=34 };
+// point1 = Point{ .x=3, .y=16, .z=27 };
+// point2 = Point{ .x=7, .y=13, .z=34 };
//
// The Point above is an example of a "struct" (short for "structure").
// Here's how it could have been defined: