aboutsummaryrefslogtreecommitdiffstats
path: root/docs/common-patterns.rst
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-05-25 01:57:36 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-05-30 21:44:33 +0800
commit49f5bc7ce946bb2100406b0fb20d3e73d3da4292 (patch)
tree1f21561166285a5692bac8c4b326f9ccd1a5bf85 /docs/common-patterns.rst
parent652bb0e8c18f5c408f8547a0d83da92a2c15deec (diff)
downloaddexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.tar
dexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.tar.gz
dexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.tar.bz2
dexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.tar.lz
dexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.tar.xz
dexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.tar.zst
dexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.zip
Changed inline code syntax
Changed from :code:`<inline>` to ``<inline>``
Diffstat (limited to 'docs/common-patterns.rst')
-rw-r--r--docs/common-patterns.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst
index ecd4b660..c8751fd1 100644
--- a/docs/common-patterns.rst
+++ b/docs/common-patterns.rst
@@ -17,7 +17,7 @@ to read the data, so will everyone else.
You can restrict read access to your contract's state
by **other contracts**. That is actually the default
-unless you declare make your state variables :code:`public`.
+unless you declare make your state variables ``public``.
Furthermore, you can restrict who can make modifications
to your contract's state or call your contract's
@@ -140,11 +140,11 @@ Example
=======
In the following example,
-the modifier :code:`atStage` ensures that the function can
+the modifier ``atStage`` ensures that the function can
only be called at a certain stage.
Automatic timed transitions
-are handled by the modifier :code:`timeTransitions`, which
+are handled by the modifier ``timeTransitions``, which
should be used for all functions.
.. note::
@@ -154,7 +154,7 @@ should be used for all functions.
it after the latter, so that the new stage is
taken into account.
-Finally, the modifier :code:`transitionNext` can be used
+Finally, the modifier ``transitionNext`` can be used
to automatically go to the next stage when the
function finishes.