mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-07-29 02:35:15 +00:00
Insert space for additional async exercises
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- exercises/104_for5.zig 2025-08-15 15:17:57.839348063 +0200
|
||||
+++ answers/104_for5.zig 2026-04-02 10:51:15.803831499 +0200
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
// We would like to number our list starting with 1, not 0.
|
||||
// How do we do that?
|
||||
- for (roles, gold, experience, ???) |c, g, e, i| {
|
||||
+ for (roles, gold, experience, 1..) |c, g, e, i| {
|
||||
const role_name = switch (c) {
|
||||
.wizard => "Wizard",
|
||||
.thief => "Thief",
|
||||
Reference in New Issue
Block a user