Update slice_sentinel comment

Slice end can be omitted
This commit is contained in:
frmdstryr 2023-10-27 09:57:08 -04:00 committed by Veikka Tuominen
parent 8dccd77277
commit a4cffd80bd

View File

@ -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.