mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fix typo in docs
This commit is contained in:
parent
8a9e012757
commit
cc400dbeca
@ -585,9 +585,8 @@ return variables and then using ``return;`` to leave the function.
|
|||||||
Returning Multiple Values
|
Returning Multiple Values
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
When a function has multiple return types, the statement ``return (v0, v1, ..., vn) can be used to return 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 number of components must be the same as the number of return types.
|
||||||
the same as the number of return types.
|
|
||||||
|
|
||||||
.. index:: ! view function, function;view
|
.. index:: ! view function, function;view
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user