From 80ffbd457197025df6b90417c7caba79299e8a60 Mon Sep 17 00:00:00 2001 From: Marko Schütz-Schmuck Date: Fri, 17 Nov 2023 05:21:21 -0400 Subject: Minor documentation change (#22951) I've made a small change in the explanation of `void` types. --- doc/manual_experimental.md | 5 ++--- 1 file 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 = -- cgit 1.4.1-2-gfad0