mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Update slice_sentinel comment
Slice end can be omitted
This commit is contained in:
parent
8dccd77277
commit
a4cffd80bd
@ -3120,7 +3120,7 @@ pub const Node = struct {
|
||||
/// `lhs[b..c]`. rhs is index into Slice
|
||||
/// main_token is the lbracket.
|
||||
slice,
|
||||
/// `lhs[b..c :d]`. rhs is index into SliceSentinel
|
||||
/// `lhs[b..c :d]`. rhs is index into SliceSentinel. Slice end "c" can be omitted.
|
||||
/// main_token is the lbracket.
|
||||
slice_sentinel,
|
||||
/// `lhs.*`. rhs is unused.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user