summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorMarko Schütz-Schmuck <MarkoSchuetz@web.de>2023-11-17 05:21:21 -0400
committerGitHub <noreply@github.com>2023-11-17 10:21:21 +0100
commit80ffbd457197025df6b90417c7caba79299e8a60 (patch)
tree894d4696a521db183702d15b8ab8d2c4b0baf969 /doc
parentcd84cd45ea5bc1de67dd28dab906ad6c16e7b092 (diff)
downloadNim-80ffbd457197025df6b90417c7caba79299e8a60.tar.gz
Minor documentation change (#22951)
I've made a small change in the explanation of `void` types.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual_experimental.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/manual_experimental.md b/doc/manual_experimental.md
index 44043b18b..d20695933 100644
--- a/doc/manual_experimental.md
+++ b/doc/manual_experimental.md
@@ -26,9 +26,8 @@ oneself.
 Void type
 =========
 
-The `void` type denotes the absence of any type. Parameters of
-type `void` are treated as non-existent, `void` as a return type means that
-the procedure does not return a value:
+The `void` type denotes the absence of any value, i.e. it is the type that contains no values. Consequently, no value can be provided for parameters of
+type `void`, and no value can be returned from a function with return type `void`:
 
   ```nim
   proc nothing(x, y: void): void =