summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Werner <xaseron@googlemail.com>2015-05-07 22:39:15 +0200
committerSimon Hafner <hafnersimon@gmail.com>2015-05-08 03:31:58 +0500
commitc384f05e49e0716cc99042491f65bcc7d415d4c3 (patch)
tree00e28ae53bdb26f42bbe44011b9670f422ca0c26
parent073547bbc41c0160cd2b304e1fce758c74d0c267 (diff)
downloadNim-c384f05e49e0716cc99042491f65bcc7d415d4c3.tar.gz
fixed typo in threadpool.nim
-rw-r--r--lib/pure/concurrency/threadpool.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/concurrency/threadpool.nim b/lib/pure/concurrency/threadpool.nim
index 9f1e53fb8..a431691ad 100644
--- a/lib/pure/concurrency/threadpool.nim
+++ b/lib/pure/concurrency/threadpool.nim
@@ -300,7 +300,7 @@ proc setMinPoolSize*(size: range[1..MaxThreadPoolSize]) =
   minPoolSize = size
 
 proc setMaxPoolSize*(size: range[1..MaxThreadPoolSize]) =
-  ## sets the minimal thread pool size. The default value of this
+  ## sets the maximal thread pool size. The default value of this
   ## is ``MaxThreadPoolSize``.
   maxPoolSize = size
   if currentPoolSize > maxPoolSize: