Fixed patch from quiz7 after text changes

#Please enter the commit message for your changes. Lines starting
This commit is contained in:
Chris Boesch 2024-10-28 09:40:17 +01:00
parent e2b20b3406
commit 8f49400aa1
No known key found for this signature in database
GPG key ID: 8712DF4D3E364668

View file

@ -1,8 +1,8 @@
--- exercises/058_quiz7.zig 2023-10-03 22:15:22.125574535 +0200 --- exercises/058_quiz7.zig 2024-10-28 09:06:49.448505460 +0100
+++ answers/058_quiz7.zig 2023-10-05 20:04:07.106101152 +0200 +++ answers/058_quiz7.zig 2024-10-28 09:35:14.631932322 +0100
@@ -192,8 +192,8 @@ @@ -192,8 +192,8 @@
// Oops! The hermit forgot how to capture the union values // Oops! The hermit forgot how to capture the union values
// in a switch statement. Please capture both values as // in a switch statement. Please capture each value as
// 'p' so the print statements work! // 'p' so the print statements work!
- .place => print("{s}", .{p.name}), - .place => print("{s}", .{p.name}),
- .path => print("--{}->", .{p.dist}), - .path => print("--{}->", .{p.dist}),