aboutsummaryrefslogtreecommitdiffstats
path: root/docs/style-guide.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/style-guide.rst
parent652bb0e8c18f5c408f8547a0d83da92a2c15deec (diff)
downloaddexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.tar.gz
dexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.tar.zst
dexon-solidity-49f5bc7ce946bb2100406b0fb20d3e73d3da4292.zip
Changed inline code syntax
Changed from :code:`<inline>` to ``<inline>``
Diffstat (limited to 'docs/style-guide.rst')
-rw-r--r--docs/style-guide.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst
index 07c3e926..b9f06012 100644
--- a/docs/style-guide.rst
+++ b/docs/style-guide.rst
@@ -163,7 +163,7 @@ Yes::
No::
- spam( ham[ 1 ], Coin( { name: "ham" } ) );`
+ spam( ham[ 1 ], Coin( { name: "ham" } ) );
Immediately before a comma, semicolon:
@@ -221,11 +221,11 @@ No::
}
}
-The same recommendations apply to the control structures :code:`if`, :code:`else`, :code:`while`,
-and :code:`for`.
+The same recommendations apply to the control structures ``if``, ``else``, ``while``,
+and ``for``.
Additionally there should be a single space between the control structures
-:code:`if`, :code:`while`, and :code:`for` and the parenthetic block representing the
+``if``, ``while``, and ``for`` and the parenthetic block representing the
conditional, as well as a single space between the conditional parenthetic
block and the opening brace.
@@ -268,7 +268,7 @@ No::
value: 42
}));
-For :code:`if` blocks which have an :code:`else` or :code:`else if` clause, the :code:`else` should be
+For ``if`` blocks which have an ``else`` or ``else if`` clause, the ``else`` should be
placed on it's own line following the previous closing parenthesis. The
parenthesis for the else block should follow the same rules as the other
conditional control structures.