summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--exercises/080_anonymous_structs.zig2
-rw-r--r--exercises/093_hello_c.zig2
3 files changed, 5 insertions, 7 deletions
diff --git a/README.md b/README.md
index 918602a..fb7fdf4 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,11 @@
# Ziglings
-Welcome to Ziglings! This project contains a series of tiny broken programs.
-By fixing them, you'll learn how to read and write
-[Zig](https://ziglang.org/)
-code.
+Welcome to Ziglings! This project contains a series of tiny broken programs (and one nasty surprise).
+By fixing them, you'll learn how to read and write [Zig](https://ziglang.org/) code.
![ziglings](https://user-images.githubusercontent.com/1458409/109398392-c1069500-790a-11eb-8ed4-7d7d74d32666.jpg)
-Those tiny broken programs need your help! (You'll also save the planet from
+Those broken programs need your help! (You'll also save the planet from
evil aliens and help some friendly elephants stick together, which is very
sweet of you.)
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