mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5727 from spmvg/develop
[DOCS] fix typo in docs/contracts.rst
This commit is contained in:
commit
a0b8201442
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user