summaryrefslogtreecommitdiffstatshomepage
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2023-03-15 18:52:16 -0400
committerGitHub <noreply@github.com>2023-03-15 18:52:16 -0400
commitad8b0383a42a89265cc431e0dfa3fb7c0c72d9ee (patch)
tree35b4fe5e0c6baa5d82df11f002a39fb1fbdfc8a8 /exercises
parent5ad5bba9182aaa4a38b14ce3a6e38438cd07c439 (diff)
parent903b5fc5365c5799a686668a7c553f6f47606274 (diff)
Merge pull request #199 from joburgard/main
Fix typos
Diffstat (limited to 'exercises')
-rw-r--r--exercises/080_anonymous_structs.zig2
-rw-r--r--exercises/093_hello_c.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/080_anonymous_structs.zig b/exercises/080_anonymous_structs.zig
index 0ca8f0c..8205641 100644
--- a/exercises/080_anonymous_structs.zig
+++ b/exercises/080_anonymous_structs.zig
@@ -78,7 +78,7 @@ pub fn main() void {
// Perhaps you remember the "narcissistic fix" for the type name
// in Ex. 065? We're going to do the same thing here: use a hard-
// coded slice to return the type name. That's just so our output
-// look prettier. Indulge your vanity. Programmers are beautiful.
+// looks prettier. Indulge your vanity. Programmers are beautiful.
fn stripFname(mytype: []const u8) []const u8 {
return mytype[22..];
}
diff --git a/exercises/093_hello_c.zig b/exercises/093_hello_c.zig
index a53a108..043b9ed 100644
--- a/exercises/093_hello_c.zig
+++ b/exercises/093_hello_c.zig
@@ -34,7 +34,7 @@
// information can be obtained. For example, 'puts' returns the number
// of characters output.
//
-// So that all this does not remain a dry theroy now, let's just start
+// So that all this does not remain a dry theory now, let's just start
// and call a C function out of Zig.
// our well-known "import" for Zig