diff options
author | flywind <xzsflywind@gmail.com> | 2021-09-11 09:25:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-11 09:25:48 +0800 |
commit | 6c2f041368e36bb7a6b217c7ac0c5de94c7b4a7a (patch) | |
tree | 6158e287620c74b129d5116f84c84233c4cf44d8 | |
parent | 0ef830577b6f6ee2314ecdfe56a631ffd4f8e4c7 (diff) | |
download | Nim-6c2f041368e36bb7a6b217c7ac0c5de94c7b4a7a.tar.gz |
fix code-block which causes missing docs
-rw-r--r-- | lib/system/channels_builtin.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/channels_builtin.nim b/lib/system/channels_builtin.nim index c7a445766..30267e375 100644 --- a/lib/system/channels_builtin.nim +++ b/lib/system/channels_builtin.nim @@ -26,7 +26,7 @@ ## The following is a simple example of two different ways to use channels: ## blocking and non-blocking. ## -## .. code-block :: Nim +## .. code-block:: Nim ## # Be sure to compile with --threads:on. ## # The channels and threads modules are part of system and should not be ## # imported. @@ -112,7 +112,7 @@ ## using e.g. `system.allocShared0` and pass these pointers through thread ## arguments: ## -## .. code-block :: Nim +## .. code-block:: Nim ## proc worker(channel: ptr Channel[string]) = ## let greeting = channel[].recv() ## echo greeting |