diff options
author | dumndummer <darkdonny@gmail.com> | 2015-01-27 13:35:50 +0000 |
---|---|---|
committer | dumndummer <darkdonny@gmail.com> | 2015-01-27 13:35:50 +0000 |
commit | 16254f49a8db14d2ca7250cb8ac15f5e91f20538 (patch) | |
tree | fdfc555e339db2dabece74b2c6f34739d2724d76 | |
parent | 66040e58ecabc0ab1d891527fec161c1b1c15726 (diff) | |
download | Nim-16254f49a8db14d2ca7250cb8ac15f5e91f20538.tar.gz |
Update sets.nim
corrected misspelled word in doc comment
-rw-r--r-- | lib/pure/collections/sets.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/collections/sets.nim b/lib/pure/collections/sets.nim index 92ef3152d..8af0b3118 100644 --- a/lib/pure/collections/sets.nim +++ b/lib/pure/collections/sets.nim @@ -253,7 +253,7 @@ proc containsOrIncl*[A](s: var HashSet[A], key: A): bool = proc init*[A](s: var HashSet[A], initialSize=64) = ## Initializes a hash set. ## - ## The `initialSize` parameter needs to be a power of too. You can use + ## The `initialSize` parameter needs to be a power of two. You can use ## `math.nextPowerOfTwo() <math.html#nextPowerOfTwo>`_ to guarantee that at ## runtime. All set variables have to be initialized before you can use them ## with other procs from this module with the exception of `isValid() |