From 32c3f6c817b864907fb758b0615c2659c33919f9 Mon Sep 17 00:00:00 2001 From: Chris Ward Date: Fri, 30 Nov 2018 10:27:18 +0100 Subject: [PATCH] Add link between functions in contract structure and more details Fix missing label --- docs/contracts.rst | 2 ++ docs/structure-of-a-contract.rst | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index d6337d9a0..984194302 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 582e53381..569639e0b 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` -towards other contracts. +towards other contracts. :ref:`Functions` accept :ref:`parameters and return variables` to pass parameters +and values between them. .. _structure-function-modifiers: