mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
Clarity for 062 and tupni for 064
This commit is contained in:
@@ -24,6 +24,10 @@
|
||||
// is probably not what you want. So consider the else clause
|
||||
// essential when using loops as expressions.
|
||||
//
|
||||
// const four: u8 = while (true) {
|
||||
// break 4;
|
||||
// }; // <-- ERROR! Implicit 'else void' here!
|
||||
//
|
||||
// With that in mind, see if you can fix the problem with this
|
||||
// program.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user