Merge pull request #6039 from xwvvvvwx/docs_contract_type_conversions

correct documentation around contract type conversion
This commit is contained in:
chriseth 2019-02-20 12:04:58 +01:00 committed by GitHub
commit c8fb2c1ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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