summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorZed <zestyr@users.noreply.github.com>2019-04-23 08:40:20 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-04-23 08:40:20 +0200
commit3b4952da94ec3e9bdb40e092888f966c3e2b5fb3 (patch)
tree5bf9aeef15a30635a24e03beb310e293457df6ed /lib/system
parent4f9366975441be889a8cd4fbfb4e41f6830dc542 (diff)
downloadNim-3b4952da94ec3e9bdb40e092888f966c3e2b5fb3.tar.gz
Fix header inconsistencies in documentation (#11071)
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/threads.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/system/threads.nim b/lib/system/threads.nim
index 18ceb900b..2c2fd4325 100644
--- a/lib/system/threads.nim
+++ b/lib/system/threads.nim
@@ -19,7 +19,8 @@
 ## to prevent race conditions and improves efficiency. See `the manual for
 ## details of this memory model <manual.html#threads>`_.
 ##
-## Example:
+## Examples
+## ========
 ##
 ## .. code-block:: Nim
 ##
@@ -328,7 +329,7 @@ else:
 proc createThread*(t: var Thread[void], tp: proc () {.thread, nimcall.}) =
   createThread[void](t, tp)
 
-## we need to cache current threadId to not perform syscall all the time
+# we need to cache current threadId to not perform syscall all the time
 var threadId {.threadvar.}: int
 
 when defined(windows):