mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 21:38:33 +00:00
Update comment on for_range in Ast
The rhs can be omitted eg `0..`
This commit is contained in:
parent
f30ab46306
commit
5c5d1f93c4
@ -3225,7 +3225,7 @@ pub const Node = struct {
|
||||
for_simple,
|
||||
/// `for (lhs[0..inputs]) lhs[inputs + 1] else lhs[inputs + 2]`. `For[rhs]`.
|
||||
@"for",
|
||||
/// `lhs..rhs`.
|
||||
/// `lhs..rhs`. rhs can be omitted.
|
||||
for_range,
|
||||
/// `if (lhs) rhs`.
|
||||
/// `if (lhs) |a| rhs`.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user