Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d57efc0

Browse files
committed
Modified common-patterns.rst
Now it uses proper inline code syntax
1 parent eb57a0c commit d57efc0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/common-patterns.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ to read the data, so will everyone else.
1717

1818
You can restrict read access to your contract's state
1919
by **other contracts**. That is actually the default
20-
unless you declare make your state variables `public`.
20+
unless you declare make your state variables :code:`public`.
2121

2222
Furthermore, you can restrict who can make modifications
2323
to your contract's state or call your contract's
@@ -140,11 +140,11 @@ Example
140140
=======
141141

142142
In the following example,
143-
the modifier `atStage` ensures that the function can
143+
the modifier :code:`atStage` ensures that the function can
144144
only be called at a certain stage.
145145

146146
Automatic timed transitions
147-
are handled by the modifier `timeTransitions`, which
147+
are handled by the modifier :code:`timeTransitions`, which
148148
should be used for all functions.
149149

150150
.. note::
@@ -154,7 +154,7 @@ should be used for all functions.
154154
it after the latter, so that the new stage is
155155
taken into account.
156156

157-
Finally, the modifier `transitionNext` can be used
157+
Finally, the modifier :code:`transitionNext` can be used
158158
to automatically go to the next stage when the
159159
function finishes.
160160

0 commit comments

Comments
 (0)