mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
Update comment on while
The @"while" is still used if cont expr is missing.
This commit is contained in:
parent
3b0dce8ebd
commit
8dccd77277
@ -3220,6 +3220,7 @@ pub const Node = struct {
|
||||
/// `while (lhs) : (a) b else c`. `While[rhs]`.
|
||||
/// `while (lhs) |x| : (a) b else c`. `While[rhs]`.
|
||||
/// `while (lhs) |x| : (a) b else |y| c`. `While[rhs]`.
|
||||
/// The cont expression part `: (a)` may be omitted.
|
||||
@"while",
|
||||
/// `for (lhs) rhs`.
|
||||
for_simple,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user