aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-06 21:52:11 +0800
committerGitHub <noreply@github.com>2018-08-06 21:52:11 +0800
commit40fbe9b86e089ded83d44d0f718c0a98dad69ace (patch)
treee54b76ae7ccf4acc08b51e5cfcf4629ada15327d
parent3c919766e8f5b9091503adc91f59e905cce01831 (diff)
downloaddexon-solidity-40fbe9b86e089ded83d44d0f718c0a98dad69ace.tar.gz
dexon-solidity-40fbe9b86e089ded83d44d0f718c0a98dad69ace.tar.zst
dexon-solidity-40fbe9b86e089ded83d44d0f718c0a98dad69ace.zip
Remove initial sentence.
-rw-r--r--docs/types.rst13
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/types.rst b/docs/types.rst
index c324535e..ac6a8c85 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -199,16 +199,13 @@ The ``.gas()`` option is available on all three methods, while the ``.value()``
Contract Types
--------------
-Every :ref:`contract<contracts>` defines its own type, defined by its smart
-contract that you can call from another contract. For example (where ``Token``
-is a contract) ::
-
- Token token = new Token();
-
-Contracts can be implicitly converted to contracts they inherit from, and can be explicitly converted from and to the ``address`` type.
+Every :ref:`contract<contracts>` defines its own type.
+Contracts can be implicitly converted to contracts they inherit from,
+and can be explicitly converted from and to the ``address`` type.
.. note::
- Starting with version 0.5.0 contracts do not derive from the address type, but can still be explicitly converted to address.
+ Starting with version 0.5.0 contracts do not derive from the address type,
+ but can still be explicitly converted to address.
Contracts can also be instantiated (which means they are newly created). You