summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-26 23:07:50 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-26 23:07:50 +0100
commitaa8a5bf42fa5f6e70faf374696888c640fae9e4e (patch)
tree760187b248ebffc5b319f91f14773303f6f3253a /docs/src
parent7597b997890647aa0546ec7bfef1eae4e33cedcb (diff)
Documentation fixes
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/reference/types.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/src/reference/types.md b/docs/src/reference/types.md
index d7482a92..355027f5 100644
--- a/docs/src/reference/types.md
+++ b/docs/src/reference/types.md
@@ -680,11 +680,9 @@ Returns the values of the dictionary as an array in key-order.
- returns: array
### pairs()
-Call a function for each key-value pair and return the results in an array.
+Returns the keys and values of the dictionary as an array of pairs. Each pair is
+represented as an array of length two.
-- mapper: function (positional, required)
- The function to apply to each pair. Gets passed the key and value as two
- separate arguments.
- returns: array
### remove()