diff options
author | chriseth <chris@ethereum.org> | 2018-02-20 02:02:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-20 02:02:49 +0800 |
commit | 09887de266665c1233cd2aa853e8271e6af282db (patch) | |
tree | 0c8c676790d28f3bde38a9c3ec98b21e8fc1bb56 /docs/contracts.rst | |
parent | 694fc6835f600c124bdc538fe454056aea024dc8 (diff) | |
download | dexon-solidity-09887de266665c1233cd2aa853e8271e6af282db.tar.gz dexon-solidity-09887de266665c1233cd2aa853e8271e6af282db.tar.zst dexon-solidity-09887de266665c1233cd2aa853e8271e6af282db.zip |
Fix link.
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r-- | docs/contracts.rst | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst index a9b42f15..d3978672 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -1053,15 +1053,13 @@ but they can be used as base contracts:: If a contract inherits from an abstract contract and does not implement all non-implemented functions by overriding, it will itself be abstract. -Note that a function without implementation is different from a :ref:`Function Type <function-types>` even though their syntax looks very similar. +Note that a function without implementation is different from a :ref:`Function Type <function_types>` even though their syntax looks very similar. -Example of function without implementation (a function declaration) -:: +Example of function without implementation (a function declaration):: function foo(address) external returns (address); -Example of a Function Type (a variable declaration, where the variable is of type ``function``) -:: +Example of a Function Type (a variable declaration, where the variable is of type ``function``):: function(address) external returns (address) foo; |