This commit is contained in:
Adam Millerchip 2022-01-01 02:07:10 +09:00
parent 41157cdde8
commit 983f19ed73
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ pub fn main() void {
// return it from the for loop.
const current_lang: ?[]const u8 = for (langs) |lang| {
if (lang.len == 3) break lang;
};
} else null;
if (current_lang) |cl| {
print("Current language: {s}\n", .{cl});