table.shuffle: Mark optional arguments properly

This commit is contained in:
Lars Müller 2022-01-01 21:56:10 +01:00 committed by GitHub
parent 69f3fc9c67
commit 02782c6087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -122,7 +122,7 @@ Adds all the list entries of `other` to `t` (list part concatenation).
Returns a new table with the keys of `t` as values and the corresponding values as keys. If a value occurs multiple times in `t`, any of the keys might be the value in the resulting table.
==== `table.shuffle(t, from, to, random)`
==== `table.shuffle(t, [from], [to], [random])`
Performs a Fisher-Yates shuffling on the specified range of the list part of `t`.