mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-25 17:20:26 +00:00
Merge pull request 'Fixed patch from quiz7 after text changes' (#171) from quiz7 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/171
This commit is contained in:
commit
71b4f5ea81
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
--- exercises/058_quiz7.zig 2023-10-03 22:15:22.125574535 +0200
|
||||
+++ answers/058_quiz7.zig 2023-10-05 20:04:07.106101152 +0200
|
||||
--- exercises/058_quiz7.zig 2024-10-28 09:06:49.448505460 +0100
|
||||
+++ answers/058_quiz7.zig 2024-10-28 09:35:14.631932322 +0100
|
||||
@@ -192,8 +192,8 @@
|
||||
// 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!
|
||||
- .place => print("{s}", .{p.name}),
|
||||
- .path => print("--{}->", .{p.dist}),
|
||||
|
|
Loading…
Reference in a new issue