aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Barreteau <>2020-07-20 20:21:49 +0200
committerCédric Barreteau <>2020-07-20 20:21:49 +0200
commit9464399c8c8af44eea9c723f090e782af0346a1a (patch)
tree4f9b32d58e2cfcbf782415cdc339e6c8d2243c04 /src
parent9f7f42ea0a4ba85aa27f9d8dc3833e854ce54703 (diff)
downloadrneovim-9464399c8c8af44eea9c723f090e782af0346a1a.tar.gz
rneovim-9464399c8c8af44eea9c723f090e782af0346a1a.tar.bz2
rneovim-9464399c8c8af44eea9c723f090e782af0346a1a.zip
Fix documentation
The list parameter is an an [in,out] rather than just an [in].
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval/typval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c
index e47403c656..dcfd456ce3 100644
--- a/src/nvim/eval/typval.c
+++ b/src/nvim/eval/typval.c
@@ -643,7 +643,7 @@ tv_list_copy_error:
/// Flatten "list" in place to depth "maxdepth".
/// Does nothing if "maxdepth" is 0.
///
-/// @param[in] list List to flatten
+/// @param[in,out] list List to flatten
/// @param[in] maxdepth Maximum depth that will be flattened
///
/// @return OK or FAIL