Browse Source

Merge pull request 'Rephrase instruction for clarity' (#170) from factormystic/exercises:quiz-7-instruction-clarify into main

Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/170
Chris Boesch 9 months ago
parent
commit
e2b20b3406
1 changed files with 1 additions and 1 deletions
  1. 1 1
      exercises/058_quiz7.zig

+ 1 - 1
exercises/058_quiz7.zig

@@ -190,7 +190,7 @@ const TripItem = union(enum) {
     fn printMe(self: TripItem) void {
         switch (self) {
             // Oops! The hermit forgot how to capture the union values
-            // in a switch statement. Please capture both values as
+            // in a switch statement. Please capture each value as
             // 'p' so the print statements work!
             .place => print("{s}", .{p.name}),
             .path => print("--{}->", .{p.dist}),