mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-21 08:21:32 +00:00
fix in doc: incomplete output (#15222) [ci skip]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user