diff options
author | Avahe Kellenberger <avahe@protonmail.ch> | 2020-05-12 02:28:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 08:28:10 +0200 |
commit | 55446c05a4ed726a6aa26bdf5f0da1db5ad7d5f1 (patch) | |
tree | eef7baf49d8d269cfd32984e85faba447ed2110e /doc | |
parent | b8ec07f19e3fdeb2f86591c0e5f6af1a87063cf3 (diff) | |
download | Nim-55446c05a4ed726a6aa26bdf5f0da1db5ad7d5f1.tar.gz |
Added a reference to ternary operators. (#14309)
`if expressions` are similar to ternary operators in other languages. In order to make this easier to find in the manual, I've added a sentence about it.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/manual.rst b/doc/manual.rst index 6feb8aebb..82678f40e 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -3128,6 +3128,7 @@ If expression ------------- An `if expression` is almost like an if statement, but it is an expression. +This feature is similar to `ternary operators` in other languages. Example: .. code-block:: nim |