From ad29fe8946f5afef28993365835b2cf7951cd0c9 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Mon, 12 Oct 2020 23:33:53 -0500 Subject: [PATCH] Fix doc for CountTable (#15561) [backport] (cherry picked from commit f1d81dc6e6673a74710f15b93c0938c22b90c4e1) --- lib/pure/collections/tables.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/collections/tables.nim b/lib/pure/collections/tables.nim index 8d6fa72ce0..9eb16a8991 100644 --- a/lib/pure/collections/tables.nim +++ b/lib/pure/collections/tables.nim @@ -2546,7 +2546,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