authorgravatar for frmdstryr@protonmail.comfrmdstryr <frmdstryr@protonmail.com> 2023-10-27 09:57:08-04:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-10-27 18:45:59+03:00
loga4cffd80bdc9bf879d1048b52aeba5716723803d
treec3ab173a25b5520367ec0c820b5245ae5dd7be66
parent8dccd77277d95d9a941f1e1766731cdb523526cb

Update slice_sentinel comment

Slice end can be omitted

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/zig/Ast.zig+1-1
...@@ -3120,7 +3120,7 @@ pub const Node = struct {...@@ -3120,7 +3120,7 @@ pub const Node = struct {
3120 /// `lhs[b..c]`. rhs is index into Slice3120 /// `lhs[b..c]`. rhs is index into Slice
3121 /// main_token is the lbracket.3121 /// main_token is the lbracket.
3122 slice,3122 slice,
3123 /// `lhs[b..c :d]`. rhs is index into SliceSentinel3123 /// `lhs[b..c :d]`. rhs is index into SliceSentinel. Slice end "c" can be omitted.
3124 /// main_token is the lbracket.3124 /// main_token is the lbracket.
3125 slice_sentinel,3125 slice_sentinel,
3126 /// `lhs.*`. rhs is unused.3126 /// `lhs.*`. rhs is unused.