diff --git a/doc/langref.html.in b/doc/langref.html.in index a98705afd5a66cf984d6acb099683546664048fe..ba093881abc5d2f0436f008a67f455aeda3f8f88 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -3293,6 +3293,7 @@ test "for else" { var items = []?i32 { 3, 4, null, 5 }; // For loops can also be used as expressions. + // Similar to while loops, when you break from a for loop, the else branch is not evaluated. var sum: i32 = 0; const result = for (items) |value| { if (value == null) {