langref: fix the slice_bounds.zig doctest

In the slice_bounds.zig doctest, the code "const slice = array[2..4]" is
incorrect, since the actual type is a pointer to an array, instead of a
slice.

Use a runtime know value to slice the array.
1d5368fa35Manlio Perillo committed on 12/13/2022, 7:59:46 PM· committed by Andrew Kelleyparent21dafd7
1 file changedLine totals unavailable