correct documentation around contract type conversion

This commit is contained in:
David Terry 2019-02-19 15:40:10 +01:00
parent d9e4a10d5a
commit 3a452181a0

View File

@ -305,8 +305,7 @@ Contract Types
Every :ref:`contract<contracts>` defines its own type. Every :ref:`contract<contracts>` defines its own type.
You can implicitly convert contracts to contracts they inherit from. You can implicitly convert contracts to contracts they inherit from.
Contracts can be explicitly converted to and from all other contract types Contracts can be explicitly converted to and from the ``address`` type.
and the ``address`` type.
Explicit conversion to and from the ``address payable`` type Explicit conversion to and from the ``address payable`` type
is only possible if the contract type has a payable fallback function. is only possible if the contract type has a payable fallback function.