summaryrefslogtreecommitdiffstatshomepage
path: root/exercises/058_quiz7.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-04-04 18:09:25 -0400
committerDave Gauer <dave@ratfactor.com>2021-04-04 18:09:25 -0400
commit79cbc99c5f3f0d4ffecc23e700999ebe85046233 (patch)
tree3f88eae64088c1f9f2ea0302e75591fd4fac6b76 /exercises/058_quiz7.zig
parent30c9f1a798962c5c8ceb0d94bb1da5d450b9aec6 (diff)
Make it clearer where there's nothing to be fixed.
Diffstat (limited to 'exercises/058_quiz7.zig')
-rw-r--r--exercises/058_quiz7.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/exercises/058_quiz7.zig b/exercises/058_quiz7.zig
index bbbe1a0..e567d5a 100644
--- a/exercises/058_quiz7.zig
+++ b/exercises/058_quiz7.zig
@@ -336,6 +336,7 @@ const HermitsNotebook = struct {
// Place, something has gone horribly wrong with our
// program! (This really shouldn't ever happen. Have you
// checked for grues?)
+ // Note: you do not need to fix anything here.
const previous_entry = self.getEntry(current_entry.coming_from.?);
if (previous_entry == null) return TripError.EatenByAGrue;
current_entry = previous_entry.?;