mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
Fix a couple of small keyword issues. (#21416)
In this section of the manual, "if" should be enclosed in backticks and "elif" should be lower case.
This commit is contained in:
@@ -3574,8 +3574,8 @@ Example:
|
||||
var y = if x > 8: 9 else: 10
|
||||
```
|
||||
|
||||
An if expression always results in a value, so the `else` part is
|
||||
required. `Elif` parts are also allowed.
|
||||
An `if` expression always results in a value, so the `else` part is
|
||||
required. `elif` parts are also allowed.
|
||||
|
||||
When expression
|
||||
---------------
|
||||
|
||||
Reference in New Issue
Block a user