mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 01:46:29 +00:00
Make it clearer where there's nothing to be fixed.
This commit is contained in:
parent
30c9f1a798
commit
79cbc99c5f
1 changed files with 1 additions and 0 deletions
|
@ -336,6 +336,7 @@ const HermitsNotebook = struct {
|
||||||
// Place, something has gone horribly wrong with our
|
// Place, something has gone horribly wrong with our
|
||||||
// program! (This really shouldn't ever happen. Have you
|
// program! (This really shouldn't ever happen. Have you
|
||||||
// checked for grues?)
|
// checked for grues?)
|
||||||
|
// Note: you do not need to fix anything here.
|
||||||
const previous_entry = self.getEntry(current_entry.coming_from.?);
|
const previous_entry = self.getEntry(current_entry.coming_from.?);
|
||||||
if (previous_entry == null) return TripError.EatenByAGrue;
|
if (previous_entry == null) return TripError.EatenByAGrue;
|
||||||
current_entry = previous_entry.?;
|
current_entry = previous_entry.?;
|
||||||
|
|
Loading…
Reference in a new issue