aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDenton Liu <liu.denton+github@gmail.com>2016-05-24 23:18:28 +0800
committerDenton Liu <liu.denton+github@gmail.com>2016-05-30 21:42:30 +0800
commitd57efc06c467cfbdae3da609bde487660a780eea (patch)
tree77fe2aacf8263b2b2e6e6cc777381364c9521501 /docs
parenteb57a0c397748fd7fe4f899d5bf8a79290501405 (diff)
downloaddexon-solidity-d57efc06c467cfbdae3da609bde487660a780eea.tar.gz
dexon-solidity-d57efc06c467cfbdae3da609bde487660a780eea.tar.zst
dexon-solidity-d57efc06c467cfbdae3da609bde487660a780eea.zip
Modified common-patterns.rst
Now it uses proper inline code syntax
Diffstat (limited to 'docs')
-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 679552ff..ecd4b660 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 `public`.
+unless you declare make your state variables :code:`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 `atStage` ensures that the function can
+the modifier :code:`atStage` ensures that the function can
only be called at a certain stage.
Automatic timed transitions
-are handled by the modifier `timeTransitions`, which
+are handled by the modifier :code:`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 `transitionNext` can be used
+Finally, the modifier :code:`transitionNext` can be used
to automatically go to the next stage when the
function finishes.