diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-01-27 12:48:32 +0000 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2015-01-27 12:48:32 +0000 |
commit | 1ac54f5c0c8d27f26e9956d500420fed3ec2e507 (patch) | |
tree | 549bc6347a59d721a7656a731ba470ef2b890248 | |
parent | e39b12ee0a258d8d77cce7a5a6d172c1a223dd25 (diff) | |
parent | a3441b3db58dd021fa6f34ae3a72f73c5e9b7e37 (diff) | |
download | Nim-1ac54f5c0c8d27f26e9956d500420fed3ec2e507.tar.gz |
Merge pull request #2015 from dumndummer/patch-1
Update sets.nim
-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() |