aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-24 17:34:18 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-25 19:37:23 +0800
commitbb493bf52d174ee1095db268453ad500de15c6a5 (patch)
tree6d84516119bbae75f658d4d51c64d6c906f77c19 /docs
parent38035f8e32b39d1215ad30fbff400c10f44b3487 (diff)
downloaddexon-solidity-bb493bf52d174ee1095db268453ad500de15c6a5.tar.gz
dexon-solidity-bb493bf52d174ee1095db268453ad500de15c6a5.tar.zst
dexon-solidity-bb493bf52d174ee1095db268453ad500de15c6a5.zip
Require 0.4.16 for view/pure in docs examples
Diffstat (limited to 'docs')
-rw-r--r--docs/contracts.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 50e7f3d1..973386d5 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -471,7 +471,7 @@ Functions can be declared ``view`` in which case they promise not to modify the
::
- pragma solidity ^0.4.0;
+ pragma solidity ^0.4.16;
contract C {
function f(uint a, uint b) view returns (uint) {
@@ -498,7 +498,7 @@ Functions can be declared ``pure`` in which case they promise not to read from o
::
- pragma solidity ^0.4.0;
+ pragma solidity ^0.4.16;
contract C {
function f(uint a, uint b) pure returns (uint) {