aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorspmvg <13852721+spmvg@users.noreply.github.com>2018-12-31 05:23:20 +0800
committerspmvg <13852721+spmvg@users.noreply.github.com>2018-12-31 05:23:20 +0800
commitcc400dbeca64691f2409b2dbaad507412bdac984 (patch)
tree413be5ee77146dcadb4fb67b031d682390c6ce81 /docs/contracts.rst
parent8a9e01275707a95aa731e8d9735dc2957f34a8e7 (diff)
downloaddexon-solidity-cc400dbeca64691f2409b2dbaad507412bdac984.tar.gz
dexon-solidity-cc400dbeca64691f2409b2dbaad507412bdac984.tar.zst
dexon-solidity-cc400dbeca64691f2409b2dbaad507412bdac984.zip
fix typo in docs
Diffstat (limited to 'docs/contracts.rst')
-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