This commit is contained in:
parent
41157cdde8
commit
983f19ed73
|
@ -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…
Reference in New Issue