From c80e43ef652ba560368c83a95c1371fb95f408ba Mon Sep 17 00:00:00 2001 From: Vishal Sodani Date: Fri, 26 Feb 2021 10:48:49 +0530 Subject: [PATCH 1/2] Fixed a typo #26 --- exercises/37_structs.zig | 4 ++-- 1 file 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: From ef5778cf191311b80515f97ff255e0e4c689e910 Mon Sep 17 00:00:00 2001 From: Vishal Sodani Date: Fri, 26 Feb 2021 10:49:35 +0530 Subject: [PATCH 2/2] Fixed a typo #26 --- exercises/36_enums2.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/36_enums2.zig b/exercises/36_enums2.zig index 650abef..0ddc4a5 100644 --- a/exercises/36_enums2.zig +++ b/exercises/36_enums2.zig @@ -33,7 +33,7 @@ const Color = enum(u32) { }; pub fn main() void { - // Remeber Zig's multi-line strings? Here they are again. + // Remember Zig's multi-line strings? Here they are again. // Also, check out this cool format string: // // {x:0>6}