summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-02-27 15:59:34 -0500
committerGitHub <noreply@github.com>2021-02-27 15:59:34 -0500
commitd2b4e7a87b6b5d42b95bcd5390c85615710c9a2d (patch)
tree3fd1678147077ff7cc2ac07e3e8cdcc28c5338cc
parent356fbf1b5beaa2efddc31ee76714513c0127aabd (diff)
parentec4391ac55b7cb2685e7d505b93549763dc11b81 (diff)
Merge pull request #27 from vishalsodani/main
Fixed some typos
-rw-r--r--exercises/36_enums2.zig2
-rw-r--r--exercises/37_structs.zig4
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: