diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-05-18 23:11:39 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-05-19 05:17:05 +0800 |
commit | c851cd0481b557ef0a18c0bfa13cbe2ab0abf716 (patch) | |
tree | 2c8fa15a55dd23506339313b610b7c51251289a2 /docs/miscellaneous.rst | |
parent | a8164eb5d72f01b44d5c83ce1b0d9650dc54b04c (diff) | |
download | dexon-solidity-c851cd0481b557ef0a18c0bfa13cbe2ab0abf716.tar.gz dexon-solidity-c851cd0481b557ef0a18c0bfa13cbe2ab0abf716.tar.zst dexon-solidity-c851cd0481b557ef0a18c0bfa13cbe2ab0abf716.zip |
Corrected capitalisation of symbol names
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r-- | docs/miscellaneous.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst index de046c6d..e1c9f4aa 100644 --- a/docs/miscellaneous.rst +++ b/docs/miscellaneous.rst @@ -31,10 +31,10 @@ non-elementary type, the positions are found by adding an offset of `sha3(k . p) So for the following contract snippet:: - contract c { - struct S { uint a; uint b; } + contract C { + struct s { uint a; uint b; } uint x; - mapping(uint => mapping(uint => S)) data; + mapping(uint => mapping(uint => s)) data; } The position of `data[4][9].b` is at `sha3(uint256(9) . sha3(uint256(4) . uint256(1))) + 1`. |