summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-01-27 14:39:40 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-01-27 14:39:40 +0100
commit6f4cd979e850308ae932773038b1ba6d7dfe4981 (patch)
treefdfc555e339db2dabece74b2c6f34739d2724d76
parent66040e58ecabc0ab1d891527fec161c1b1c15726 (diff)
parent16254f49a8db14d2ca7250cb8ac15f5e91f20538 (diff)
downloadNim-6f4cd979e850308ae932773038b1ba6d7dfe4981.tar.gz
Merge pull request #2016 from dumndummer/patch-2
Update sets.nim
-rw-r--r--lib/pure/collections/sets.nim2
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()