aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/cpp/void.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/lang/cpp/void.rst')
-rw-r--r--docs/source/lang/cpp/void.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/source/lang/cpp/void.rst b/docs/source/lang/cpp/void.rst
index 88bd448..88c9c64 100644
--- a/docs/source/lang/cpp/void.rst
+++ b/docs/source/lang/cpp/void.rst
@@ -5,10 +5,12 @@
``void``
========
-The ``void`` keyword is used only in function declarations. It
-indicates that the function is expected to return no information to
-the function from which it was called, or that it expects no arguments
-from its caller.
+.. cpp:type:: void
+
+ The ``void`` keyword is used in function declarations. It indicates
+ that the function is expected to return no information to the
+ function from which it was called, or that it expects no arguments
+ from its caller.
Example
-------