Fix list indentation

This commit is contained in:
Alex Beregszaszi 2017-03-16 00:43:25 +00:00
parent 4c34adb799
commit 42f2623cd3
3 changed files with 4 additions and 2 deletions

View File

@ -399,6 +399,7 @@ Currently, Solidity automatically generates a runtime exception in the following
#. If you call ``assert`` with an argument that evaluates to false. #. If you call ``assert`` with an argument that evaluates to false.
While a user-provided exception is generated in the following situations: While a user-provided exception is generated in the following situations:
#. Calling ``throw``. #. Calling ``throw``.
#. Calling ``require`` with an argument that evaluates to ``false``. #. Calling ``require`` with an argument that evaluates to ``false``.
@ -411,4 +412,4 @@ did not occur. Because we want to retain the atomicity of transactions, the safe
If contracts are written so that ``assert`` is only used to test internal conditions and ``require`` If contracts are written so that ``assert`` is only used to test internal conditions and ``require``
is used in case of malformed input, a formal analysis tool that verifies that the invalid is used in case of malformed input, a formal analysis tool that verifies that the invalid
opcode can never be reached can be used to check for the absence of errors assuming valid inputs. opcode can never be reached can be used to check for the absence of errors assuming valid inputs.

View File

@ -2,7 +2,7 @@ Solidity
======== ========
Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript
and it is designed to target the Ethereum Virtual Machine. and it is designed to target the Ethereum Virtual Machine (EVM).
Solidity is statically typed, supports inheritance, libraries and complex Solidity is statically typed, supports inheritance, libraries and complex
user-defined types among other features. user-defined types among other features.

View File

@ -250,6 +250,7 @@ The version string in detail
============================ ============================
The Solidity version string contains four parts: The Solidity version string contains four parts:
- the version number - the version number
- pre-release tag, usually set to ``develop.YYYY.MM.DD`` or ``nightly.YYYY.MM.DD`` - pre-release tag, usually set to ``develop.YYYY.MM.DD`` or ``nightly.YYYY.MM.DD``
- commit in the format of ``commit.GITHASH`` - commit in the format of ``commit.GITHASH``