summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorChristopher Dunn <cdunn2001@gmail.com>2020-10-12 23:33:53 -0500
committerGitHub <noreply@github.com>2020-10-13 06:33:53 +0200
commitf1d81dc6e6673a74710f15b93c0938c22b90c4e1 (patch)
treed9d3ac52b7c7b388656cace270374867ac232032
parent1f51a3399808218f99e820fd43f5bd9d2204ce61 (diff)
downloadNim-f1d81dc6e6673a74710f15b93c0938c22b90c4e1.tar.gz
Fix doc for CountTable (#15561) [backport]
-rw-r--r--lib/pure/collections/tables.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/collections/tables.nim b/lib/pure/collections/tables.nim
index c5a7fca56..85440bd2b 100644
--- a/lib/pure/collections/tables.nim
+++ b/lib/pure/collections/tables.nim
@@ -2599,7 +2599,7 @@ proc `[]`*[A](t: CountTableRef[A], key: A): int =
   ## See also:
   ## * `getOrDefault<#getOrDefault,CountTableRef[A],A,int>`_ to return
   ##   a custom value if the key doesn't exist
-  ## * `mget proc<#mget,CountTableRef[A],A>`_
+  ## * `inc proc<#inc,CountTableRef[A],A>`_ to inc even if missing
   ## * `[]= proc<#[]%3D,CountTableRef[A],A,int>`_ for inserting a new
   ##   (key, value) pair in the table
   ## * `hasKey proc<#hasKey,CountTableRef[A],A>`_ for checking if a key