aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorWill Hopkins <willothyh@gmail.com>2024-06-01 00:18:59 -0700
committerLewis Russell <me@lewisr.dev>2024-06-11 16:36:29 +0100
commite947f226bebef1310af39ce3d93d7bb87e85d757 (patch)
tree482f979769ef21af1e57bd0f4f5c67525adb9c7d /runtime/doc
parentc06f3dbe3ee82bd8c9e5d8625b225a937a9e5e9e (diff)
downloadrneovim-e947f226bebef1310af39ce3d93d7bb87e85d757.tar.gz
rneovim-e947f226bebef1310af39ce3d93d7bb87e85d757.tar.bz2
rneovim-e947f226bebef1310af39ce3d93d7bb87e85d757.zip
fix(types): use vararg return type annotation
build(types): allow vararg returns in function types
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lua.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 72babb067e..fe2abfe956 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -4082,10 +4082,10 @@ Iter:map({f}) *Iter:map()*
<
Parameters: ~
- • {f} (`fun(...):any`) Mapping function. Takes all values returned from
- the previous stage in the pipeline as arguments and returns one
- or more new values, which are used in the next pipeline stage.
- Nil return values are filtered from the output.
+ • {f} (`fun(...):...:any`) Mapping function. Takes all values returned
+ from the previous stage in the pipeline as arguments and returns
+ one or more new values, which are used in the next pipeline
+ stage. Nil return values are filtered from the output.
Return: ~
(`Iter`)