diff --git a/docs/contracts.rst b/docs/contracts.rst index 540def6f6e82..93e351c60f9e 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -1056,7 +1056,7 @@ As an exception, a state variable getter can override a public function. Abstract Contracts ****************** -Contract functions can lack an implementation as in the following example (note that the function declaration header is terminated by ``;``):: +Contracts are marked as abstract when at least one of their functions lacks an implementation as in the following example (note that the function declaration header is terminated by ``;``):: pragma solidity ^0.4.0; @@ -1064,9 +1064,7 @@ Contract functions can lack an implementation as in the following example (note function utterance() public returns (bytes32); } -Such contracts cannot be compiled (even if they contain -implemented functions alongside non-implemented functions), -but they can be used as base contracts:: +Such contracts cannot be compiled (even if they contain implemented functions alongside non-implemented functions), but they can be used as base contracts:: pragma solidity ^0.4.0; @@ -1078,7 +1076,7 @@ but they can be used as base contracts:: function utterance() public returns (bytes32) { return "miaow"; } } -If a contract inherits from an abstract contract and does not implement all non-implemented functions by overriding, it will itself be abstract. +If a contract inherits from an abstract contract and does not implement all non-implemented functions by overriding, it will itself be abstract. .. index:: ! contract;interface, ! interface contract