aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChris Ward <chriswhward@gmail.com>2018-11-30 17:27:18 +0800
committerChris Ward <chriswhward@gmail.com>2018-12-03 16:06:19 +0800
commit32c3f6c817b864907fb758b0615c2659c33919f9 (patch)
tree8a4910466b797d52847990f3724e69ffd6d8ce7a /docs
parenta73df9bc18ddb7a4b9aac5a03d810298b82b8a88 (diff)
downloaddexon-solidity-32c3f6c817b864907fb758b0615c2659c33919f9.tar.gz
dexon-solidity-32c3f6c817b864907fb758b0615c2659c33919f9.tar.zst
dexon-solidity-32c3f6c817b864907fb758b0615c2659c33919f9.zip
Add link between functions in contract structure and more details
Fix missing label
Diffstat (limited to 'docs')
-rw-r--r--docs/contracts.rst2
-rw-r--r--docs/structure-of-a-contract.rst3
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index d6337d9a..98419430 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -485,6 +485,8 @@ value types and strings.
Functions
*********
+.. _function-parameters-return-variables:
+
Function Parameters and Return Variables
========================================
diff --git a/docs/structure-of-a-contract.rst b/docs/structure-of-a-contract.rst
index 582e5338..569639e0 100644
--- a/docs/structure-of-a-contract.rst
+++ b/docs/structure-of-a-contract.rst
@@ -56,7 +56,8 @@ Functions are the executable units of code within a contract.
:ref:`function-calls` can happen internally or externally
and have different levels of :ref:`visibility<visibility-and-getters>`
-towards other contracts.
+towards other contracts. :ref:`Functions<functions>` accept :ref:`parameters and return variables<function-parameters-return-variables>` to pass parameters
+and values between them.
.. _structure-function-modifiers: