Add solutions
This commit is contained in:
parent
7417f01d5d
commit
b056b6ad81
96 changed files with 229 additions and 166 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 "NOOP";
|
||||
|
||||
if (current_lang) |cl| {
|
||||
print("Current language: {s}\n", .{cl});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue