In the section `language-basics/loops-as-expressions` the following is stated: "Loops in Zig also have an else branch, which is evaluated when the loop is not exited with a break." This is not true. Consider for example a loop existing with a return.
In the section
language-basics/loops-as-expressionsthe following is stated:"Loops in Zig also have an else branch, which is evaluated when the loop is not exited with a break."
This is not true. Consider for example a loop existing with a return.