mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 22:13:11 -05:00
f6d1b36be2
Patches cleaned and fixed by hand as proof of my devotion. <3
14 lines
549 B
Diff
14 lines
549 B
Diff
195,196c195,196
|
|
< .place => print("{s}", .{p.name}),
|
|
< .path => print("--{}->", .{p.dist}),
|
|
---
|
|
> .place => |p| print("{s}", .{p.name}),
|
|
> .path => |p| print("--{}->", .{p.dist}),
|
|
258c258
|
|
< if (place == entry.*.?.place) return entry;
|
|
---
|
|
> if (place == entry.*.?.place) return &entry.*.?;
|
|
312c312
|
|
< fn getTripTo(self: *HermitsNotebook, trip: []?TripItem, dest: *Place) void {
|
|
---
|
|
> fn getTripTo(self: *HermitsNotebook, trip: []?TripItem, dest: *Place) TripError!void {
|