From 1c3238d6197bac9722a2858cfb59716e9c09628b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Marku=C5=A1i=C4=87?= Date: Sun, 31 May 2026 10:04:08 +0200 Subject: [PATCH 1/2] fix typos --- exercises/106_tokenization.zig | 2 +- exercises/112_vectors.zig | 2 +- exercises/114_packed.zig | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exercises/106_tokenization.zig b/exercises/106_tokenization.zig index d0abb5c..10962f5 100644 --- a/exercises/106_tokenization.zig +++ b/exercises/106_tokenization.zig @@ -14,7 +14,7 @@ // exercises. // // A nice example of this has been published on the Zig homepage, -// replacing the somewhat dusty 'Hello world! +// replacing the somewhat dusty 'Hello world!' // // Nothing against 'Hello world!', but it just doesn't do justice // to the elegance of Zig and that's a pity, if someone takes a short, diff --git a/exercises/112_vectors.zig b/exercises/112_vectors.zig index 96892ca..748c086 100644 --- a/exercises/112_vectors.zig +++ b/exercises/112_vectors.zig @@ -73,7 +73,7 @@ // Operations performed on vectors in Zig will be done in parallel using // SIMD instructions, whenever possible. // -// Defining vectors in Zig is straightforwards. No library import is needed. +// Defining vectors in Zig is straightforward. No library import is needed. const v1 = @Vector(3, i32){ 1, 10, 100 }; const v2 = @Vector(3, f32){ 2.0, 3.0, 5.0 }; diff --git a/exercises/114_packed.zig b/exercises/114_packed.zig index 1058f76..933ae0a 100644 --- a/exercises/114_packed.zig +++ b/exercises/114_packed.zig @@ -1,9 +1,9 @@ // // We've already learned plenty about bit manipulation using bitwise operations -// in exercices 097 and 098 and in quiz 110. The techniques we already know work +// in exercises 097 and 098 and in quiz 110. The techniques we already know work // just fine, but creating masks and shifting individual bits around can become // quite tedious and unwieldy pretty quickly. -// What if there was a better, a more convenient way to control invidivual bits? +// What if there was a better, a more convenient way to control individual bits? // // Luckily, Zig has a keyword for exactly this purpose: // From 7300e870282e049328100d70034b022b1996bfd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Marku=C5=A1i=C4=87?= Date: Sun, 31 May 2026 15:08:43 +0200 Subject: [PATCH 2/2] fix contributing instructions for patches --- CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a348ef4..263fdbc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -119,12 +119,12 @@ its patch too. That’s where our little helper Gollum comes in: 1. In the project root, create a folder called `answers/` 2. Put your solved version of the exercise file in there 3. Back in the root, run: - `./patches/gollum `
- For example: `./patches/gollum 106` + `./patches/gollum.sh `
+ For example: `./patches/gollum.sh 106` This will generate a shiny new patch. Double-check everything by asking the magical Eowyn: -`./patches/eowyn`
+`./patches/eowyn.sh`
If all tests pass: You are done! Don’t forget to commit the patch file.