Added epic ex058 - quiz 7
This commit is contained in:
parent
bfa0f08795
commit
38b6de1e71
3 changed files with 477 additions and 0 deletions
14
patches/patches/058_quiz7.patch
Normal file
14
patches/patches/058_quiz7.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
188,189c188,189
|
||||
< .place => print("{s}", .{p.name}),
|
||||
< .path => print("--{}->", .{p.dist}),
|
||||
---
|
||||
> .place => |p| print("{s}", .{p.name}),
|
||||
> .path => |p| print("--{}->", .{p.dist}),
|
||||
251c251
|
||||
< if (place == entry.*.?.place) return entry;
|
||||
---
|
||||
> if (place == entry.*.?.place) return &entry.*.?;
|
||||
305c305
|
||||
< fn getTripTo(self: *HermitsNotebook, trip: []?TripItem, dest: *Place) void {
|
||||
---
|
||||
> fn getTripTo(self: *HermitsNotebook, trip: []?TripItem, dest: *Place) TripError!void {
|
||||
Loading…
Add table
Add a link
Reference in a new issue