mirror of
				https://codeberg.org/ziglings/exercises.git
				synced 2025-11-03 20:25:37 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			549 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			15 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 {
 |