diff options
author | Dave Gauer <ratfactor@gmail.com> | 2021-02-27 15:59:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-27 15:59:34 -0500 |
commit | 96a5872c499c324f4855aec262c433fdbd60a4a2 (patch) | |
tree | 3fd1678147077ff7cc2ac07e3e8cdcc28c5338cc | |
parent | 352a07fa7e421e6176a9713011c72e152e80a4db (diff) | |
parent | ef5778cf191311b80515f97ff255e0e4c689e910 (diff) | |
download | ziglings-96a5872c499c324f4855aec262c433fdbd60a4a2.tar.gz ziglings-96a5872c499c324f4855aec262c433fdbd60a4a2.tar.bz2 ziglings-96a5872c499c324f4855aec262c433fdbd60a4a2.tar.xz ziglings-96a5872c499c324f4855aec262c433fdbd60a4a2.zip |
Merge pull request #27 from vishalsodani/main
Fixed some typos
-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: |