Skip to content

Commit c792154

Browse files
authored
Minor doc fixes; follow up to 17258 and 17259 (#18123)
Co-authored-by: quantimnot <[email protected]>
1 parent 9eae6b4 commit c792154

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/manual.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ contain the following `escape sequences`:idx:\ :
363363
``\\`` `backslash`:idx:
364364
``\"`` `quotation mark`:idx:
365365
``\'`` `apostrophe`:idx:
366-
``\\`` '0'..'9'+ `character with decimal value d`:idx:;
366+
``\`` '0'..'9'+ `character with decimal value d`:idx:;
367367
all decimal digits directly
368368
following are used for the character
369369
``\a`` `alert`:idx:
@@ -473,7 +473,7 @@ literals:
473473
``\\`` `backslash`:idx:
474474
``\"`` `quotation mark`:idx:
475475
``\'`` `apostrophe`:idx:
476-
``\\`` '0'..'9'+ `character with decimal value d`:idx:;
476+
``\`` '0'..'9'+ `character with decimal value d`:idx:;
477477
all decimal digits directly
478478
following are used for the character
479479
``\a`` `alert`:idx:
@@ -7825,7 +7825,7 @@ Threads
78257825

78267826
To enable thread support the `--threads:on`:option: command-line switch needs to
78277827
be used. The system_ module then contains several threading primitives.
7828-
See the `threads <threads.html>`_ and `channels <channels.html>`_ modules
7828+
See the `threads <threads.html>`_ and `channels <channels_builtin.html>`_ modules
78297829
for the low-level thread API. There are also high-level parallelism constructs
78307830
available. See `spawn <manual_experimental.html#parallel-amp-spawn>`_ for
78317831
further details.

doc/manual_experimental_strictnotnil.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Merging usually merges maps and alias sets: nilabilities are merged like this:
143143
else:
144144
MaybeNil
145145
146-
Special handling is for `.isNil` and ` == nil`, also for `not`, `and` and `or`.
146+
Special handling is for `.isNil` and `== nil`, also for `not`, `and` and `or`.
147147

148148
`not` reverses the nilability, `and` is similar to "forking" : the right expression is checked in the layer resulting from the left one and `or` is similar to "merging": the right and left expression should be both checked in the original layer.
149149

doc/tut1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ String and character literals
114114
-----------------------------
115115

116116
String literals are enclosed in double-quotes; character literals in single
117-
quotes. Special characters are escaped with ``\\``: ``\n`` means newline, ``\t``
117+
quotes. Special characters are escaped with ``\``: ``\n`` means newline, ``\t``
118118
means tabulator, etc. There are also *raw* string literals:
119119

120120
.. code-block:: Nim

0 commit comments

Comments
 (0)