diff options
author | Nicolás Venturo <nicolas.venturo@gmail.com> | 2018-07-13 02:25:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 02:25:42 +0800 |
commit | 910fa3cd7c04347273929283d8944640285c0f17 (patch) | |
tree | 60f909cd4c59cb63a90164ab693e1f6f6ac03333 /docs/types.rst | |
parent | 5d8a8f726555361a78dac05a5413558f3f63f7f1 (diff) | |
download | dexon-solidity-910fa3cd7c04347273929283d8944640285c0f17.tar.gz dexon-solidity-910fa3cd7c04347273929283d8944640285c0f17.tar.zst dexon-solidity-910fa3cd7c04347273929283d8944640285c0f17.zip |
Removed repeated documentation
There is already a paragraph below describing how to call functions in both their internal and external forms (and IMO it's clearer).
Diffstat (limited to 'docs/types.rst')
-rw-r--r-- | docs/types.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/types.rst b/docs/types.rst index 217a2273..16445a34 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -386,10 +386,6 @@ By default, function types are internal, so the ``internal`` keyword can be omitted. In contrast, contract functions themselves are public by default, only when used as the name of a type, the default is internal. -There are two ways to access a function in the current contract: Either directly -by its name, ``f``, or using ``this.f``. The former will result in an internal -function, the latter in an external function. - If a function type variable is not initialized, calling it will result in an exception. The same happens if you call a function after using ``delete`` on it. |