aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/contracts.rst5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 682cb378..746f6e00 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -585,9 +585,8 @@ return variables and then using ``return;`` to leave the function.
Returning Multiple Values
-------------------------
-When a function has multiple return types, the statement ``return (v0, v1, ..., vn) can be used to return multiple values.
-vn)`` can return multiple values. The number of components must be
-the same as the number of return types.
+When a function has multiple return types, the statement ``return (v0, v1, ..., vn)`` can be used to return multiple values.
+The number of components must be the same as the number of return types.
.. index:: ! view function, function;view