summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorreactormonk <hafnersimon@gmail.com>2015-05-08 02:50:23 +0500
committerreactormonk <hafnersimon@gmail.com>2015-05-08 02:50:23 +0500
commit45b6082c12dd6fc90a3dd3ca97e1ba157c3d6464 (patch)
tree61421b7ae09bfcd00f5d8e8fa09efff8f0627f5c
parentac1fbf14696aa896286fce7cec485770789eedab (diff)
parent47f6d38b67a794e6dbe7bc612fe682d43b0d0f18 (diff)
downloadNim-45b6082c12dd6fc90a3dd3ca97e1ba157c3d6464.tar.gz
Merge pull request #2674 from Xaseron/patch-1
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: