~sircmpwn/harelang.org

1233d184233db242f83fb3fd2d1c1cd6366bc30d — Drew DeVault 2 months ago b070f6f
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)!;
	};
};