summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenji York <benji@benjiyork.com>2023-02-22 05:12:10 -0600
committerGitHub <noreply@github.com>2023-02-22 12:12:10 +0100
commit64a788cafb287ace8c63f5e86cb84c520eab3f2a (patch)
tree64d080ecbd73fe5f49f458e04d558b001372749b
parenta3603c8a6ee4a8ae147d2f2099a18395e819a8a3 (diff)
downloadNim-64a788cafb287ace8c63f5e86cb84c520eab3f2a.tar.gz
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.
-rw-r--r--doc/manual.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.md b/doc/manual.md
index 779e99186..ef790c362 100644
--- a/doc/manual.md
+++ b/doc/manual.md
@@ -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
 ---------------