aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-11-24 11:06:42 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-02-27 03:19:26 +0800
commit64eaff64200d166bdd48f81bceefec9bc83db72f (patch)
treeb3bc533f61d33222ff5d6581e998a6ec8223675e /docs/contracts.rst
parentcd2d893634b490236ef29fe857556bde4901a74d (diff)
downloaddexon-solidity-64eaff64200d166bdd48f81bceefec9bc83db72f.tar
dexon-solidity-64eaff64200d166bdd48f81bceefec9bc83db72f.tar.gz
dexon-solidity-64eaff64200d166bdd48f81bceefec9bc83db72f.tar.bz2
dexon-solidity-64eaff64200d166bdd48f81bceefec9bc83db72f.tar.lz
dexon-solidity-64eaff64200d166bdd48f81bceefec9bc83db72f.tar.xz
dexon-solidity-64eaff64200d166bdd48f81bceefec9bc83db72f.tar.zst
dexon-solidity-64eaff64200d166bdd48f81bceefec9bc83db72f.zip
Random documentation updates (assembly, faq)
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index ee203263..6dfcdf60 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -467,13 +467,13 @@ The following statements are considered modifying the state:
}
.. note::
- ``constant`` is an alias to ``view``.
+ ``constant`` on functions is an alias to ``view``.
.. note::
Getter methods are marked ``view``.
.. warning::
- The compiler does not enforce yet that a ``view`` method is not modifying state.
+ Before version 0.4.17 the compiler didn't enforce that ``view`` is not modifying the state.
.. index:: ! pure function, function;pure
@@ -503,7 +503,7 @@ In addition to the list of state modifying statements explained above, the follo
}
.. warning::
- The compiler does not enforce yet that a ``pure`` method is not reading from the state.
+ Before version 0.4.17 the compiler didn't enforce that ``view`` is not reading the state.
.. index:: ! fallback function, function;fallback