doc/langref: mention that x is the sentinel in [N:x]T

Without looking at the example it is not possible to know
whether N or x is the sentinel value. Fix it.
This commit is contained in:
Emilio G. Cota 2020-01-11 16:59:19 -05:00 committed by Andrew Kelley
parent 4d4852ad31
commit 2be12b24bc

View File

@ -1818,7 +1818,7 @@ test "multidimensional arrays" {
{#header_open|Sentinel-Terminated Arrays#}
<p>
The syntax {#syntax#}[N:x]T{#endsyntax#} describes an array which has a sentinel element at the
The syntax {#syntax#}[N:x]T{#endsyntax#} describes an array which has a sentinel element of value {#syntax#}x{#endsyntax#} at the
index corresponding to {#syntax#}len{#endsyntax#}.
</p>
{#code_begin|test|null_terminated_array#}