From 8321617a7845f01f1e60e0b00f275345b15845e9 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 24 Aug 2020 14:33:51 +0800 Subject: [PATCH] fix in doc: incomplete output (#15222) [ci skip] --- 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 017a2f337b..6d79638c2b 100644 --- a/lib/pure/collections/tables.nim +++ b/lib/pure/collections/tables.nim @@ -131,7 +131,7 @@ ## let myString = "abracadabra" ## let letterFrequencies = toCountTable(myString) ## echo letterFrequencies -## # 'a': 5, 'b': 2, 'c': 1, 'd': 1, 'r': 2} +## # output: {'a': 5, 'b': 2, 'c': 1, 'd': 1, 'r': 2} ## ## The same could have been achieved by manually iterating over a container ## and increasing each key's value with `inc proc