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 {
31203120 /// `lhs[b..c]`. rhs is index into Slice
31213121 /// main_token is the lbracket.
31223122 slice,
3123 /// `lhs[b..c :d]`. rhs is index into SliceSentinel
3123 /// `lhs[b..c :d]`. rhs is index into SliceSentinel. Slice end "c" can be omitted.
31243124 /// main_token is the lbracket.
31253125 slice_sentinel,
31263126 /// `lhs.*`. rhs is unused.