From a4cffd80bdc9bf879d1048b52aeba5716723803d Mon Sep 17 00:00:00 2001 From: frmdstryr Date: Fri, 27 Oct 2023 09:57:08 -0400 Subject: [PATCH] Update slice_sentinel comment Slice end can be omitted --- lib/std/zig/Ast.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/zig/Ast.zig b/lib/std/zig/Ast.zig index 61a10189b8..c918f8a980 100644 --- a/lib/std/zig/Ast.zig +++ b/lib/std/zig/Ast.zig @@ -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.