diff options
author | Jon <jiyinyiyong@gmail.com> | 2020-08-24 14:33:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-24 08:33:51 +0200 |
commit | 8321617a7845f01f1e60e0b00f275345b15845e9 (patch) | |
tree | b9281fa78f14d24f96d500ea64f87b48f65cb184 /lib/pure/collections | |
parent | 07d82b5cc4b7ba177de43a3eb46c7c645930421a (diff) | |
download | Nim-8321617a7845f01f1e60e0b00f275345b15845e9.tar.gz |
fix in doc: incomplete output (#15222) [ci skip]
Diffstat (limited to 'lib/pure/collections')
-rw-r--r-- | lib/pure/collections/tables.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/collections/tables.nim b/lib/pure/collections/tables.nim index 017a2f337..6d79638c2 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 |