61-72
This commit is contained in:
parent
28dc209134
commit
723822e800
12 changed files with 23 additions and 23 deletions
|
|
@ -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});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue