diff options
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/36_enums2.zig | 2 | ||||
-rw-r--r-- | exercises/37_structs.zig | 4 |
2 files changed, 3 insertions, 3 deletions
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} 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: |