aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-11-13 05:56:35 +0800
committerchriseth <chris@ethereum.org>2018-11-13 05:57:32 +0800
commita7b3ec0e42e5aabed3f8603cd46575189211a2ca (patch)
tree0d95ea75da44095ea32b258d1db445f563911039
parent4eaed37b96c219c0486a125fc34c916cdb729026 (diff)
downloaddexon-solidity-a7b3ec0e42e5aabed3f8603cd46575189211a2ca.tar
dexon-solidity-a7b3ec0e42e5aabed3f8603cd46575189211a2ca.tar.gz
dexon-solidity-a7b3ec0e42e5aabed3f8603cd46575189211a2ca.tar.bz2
dexon-solidity-a7b3ec0e42e5aabed3f8603cd46575189211a2ca.tar.lz
dexon-solidity-a7b3ec0e42e5aabed3f8603cd46575189211a2ca.tar.xz
dexon-solidity-a7b3ec0e42e5aabed3f8603cd46575189211a2ca.tar.zst
dexon-solidity-a7b3ec0e42e5aabed3f8603cd46575189211a2ca.zip
Fix style.
-rw-r--r--docs/miscellaneous.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 8e4e8b99..21978ded 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -31,14 +31,14 @@ Statically-sized variables (everything except mapping and dynamically-sized arra
declaring your storage variables in the order of ``uint128, uint128, uint256`` instead of
``uint128, uint256, uint128``, as the former will only take up two slots of storage whereas the
latter will take up three.
-
+
.. note::
The layout of state variables in storage is considered to be part of the external interface
of Solidity due to the fact that storage pointers can be passed to libraries. This means that
any change to the rules outlined in this section is considered a breaking change
of the language and due to its critical nature should be considered very carefully before
being executed.
-
+
The elements of structs and arrays are stored after each other, just as if they were given explicitly.