Use for-each in index sample Signed-off-by: Drew DeVault <sir@cmpwn.com>
1 files changed, 2 insertions(+), 2 deletions(-) M content/sample.ha
M content/sample.ha => content/sample.ha +2 -2
@@ 8,7 8,7 @@ export fn main() void = { "Привіт, світ!", "こんにちは世界!", ]; - for (let i = 0z; i < len(greetings); i += 1) { - fmt::println(greetings[i])!; + for (let greeting .. greetings) { + fmt::println(greeting)!; }; };